summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/pcm179x.h
diff options
context:
space:
mode:
authorJacob Siverskog <jacob@teenage.engineering>2016-01-22 15:39:53 +0300
committerMark Brown <broonie@kernel.org>2016-01-29 02:36:16 +0300
commit1b347b6891335a30131899dd16ec6ca843c578f0 (patch)
treed9ba3d7cab1e0951b0cfaba76a4f7a1e5f6a9c2e /sound/soc/codecs/pcm179x.h
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-1b347b6891335a30131899dd16ec6ca843c578f0.tar.xz
ASoC: pcm179x: Split into core and SPI parts
The pcm179x family supports both SPI and I2C for configuration. This patch splits the driver into core and SPI parts, in preparation for I2C support. Signed-off-by: Jacob Siverskog <jacob@teenage.engineering> Reviewed-by: Johan Hovold <johan@kernel.org> Acked-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm179x.h')
-rw-r--r--sound/soc/codecs/pcm179x.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm179x.h b/sound/soc/codecs/pcm179x.h
index c6fdc062a497..c4eea4df915b 100644
--- a/sound/soc/codecs/pcm179x.h
+++ b/sound/soc/codecs/pcm179x.h
@@ -24,4 +24,9 @@
#define PCM1792A_FORMATS (SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S24_LE | \
SNDRV_PCM_FMTBIT_S16_LE)
+extern const struct regmap_config pcm179x_regmap_config;
+
+int pcm179x_common_init(struct device *dev, struct regmap *regmap);
+int pcm179x_common_exit(struct device *dev);
+
#endif