diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-17 15:05:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-23 10:14:14 -0500 |
commit | 34baf2202059a7a7624aa02a104b64a9134aa885 (patch) | |
tree | 67690ae098e6c6b2f3aaf3440a76ebb30eb683dc /sound/soc/codecs/ak4104.c | |
parent | afad95f82582cdd685cc9ba919eb55150a0ec909 (diff) |
ASoC: ak4104: Use snd_soc_write() rather than internal write function
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Daniel Mack <zonque@gmail.com>
Diffstat (limited to 'sound/soc/codecs/ak4104.c')
-rw-r--r-- | sound/soc/codecs/ak4104.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/ak4104.c b/sound/soc/codecs/ak4104.c index d6d9e40cbdee..34a840c5d2b7 100644 --- a/sound/soc/codecs/ak4104.c +++ b/sound/soc/codecs/ak4104.c | |||
@@ -148,7 +148,7 @@ static int ak4104_hw_params(struct snd_pcm_substream *substream, | |||
148 | 148 | ||
149 | /* set the IEC958 bits: consumer mode, no copyright bit */ | 149 | /* set the IEC958 bits: consumer mode, no copyright bit */ |
150 | val |= IEC958_AES0_CON_NOT_COPYRIGHT; | 150 | val |= IEC958_AES0_CON_NOT_COPYRIGHT; |
151 | ak4104_spi_write(codec, AK4104_REG_CHN_STATUS(0), val); | 151 | snd_soc_write(codec, AK4104_REG_CHN_STATUS(0), val); |
152 | 152 | ||
153 | val = 0; | 153 | val = 0; |
154 | 154 | ||
@@ -167,7 +167,7 @@ static int ak4104_hw_params(struct snd_pcm_substream *substream, | |||
167 | return -EINVAL; | 167 | return -EINVAL; |
168 | } | 168 | } |
169 | 169 | ||
170 | return ak4104_spi_write(codec, AK4104_REG_CHN_STATUS(3), val); | 170 | return snd_soc_write(codec, AK4104_REG_CHN_STATUS(3), val); |
171 | } | 171 | } |
172 | 172 | ||
173 | static const struct snd_soc_dai_ops ak4101_dai_ops = { | 173 | static const struct snd_soc_dai_ops ak4101_dai_ops = { |