diff options
author | Jacob Siverskog <jacob@teenage.engineering> | 2016-01-22 13:39:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-29 00:36:16 +0100 |
commit | 1b347b6891335a30131899dd16ec6ca843c578f0 (patch) | |
tree | d9ba3d7cab1e0951b0cfaba76a4f7a1e5f6a9c2e /sound/soc/codecs/pcm179x.h | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | talos-obmc-linux-1b347b6891335a30131899dd16ec6ca843c578f0.tar.gz talos-obmc-linux-1b347b6891335a30131899dd16ec6ca843c578f0.zip |
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.h | 5 |
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 |