diff options
Diffstat (limited to 'sound/soc/codecs/ak4104.c')
-rw-r--r-- | sound/soc/codecs/ak4104.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4104.c b/sound/soc/codecs/ak4104.c index b68d99fb6af0..962d74682122 100644 --- a/sound/soc/codecs/ak4104.c +++ b/sound/soc/codecs/ak4104.c | |||
@@ -221,7 +221,7 @@ static int ak4104_spi_probe(struct spi_device *spi) | |||
221 | codec->owner = THIS_MODULE; | 221 | codec->owner = THIS_MODULE; |
222 | codec->dai = &ak4104_dai; | 222 | codec->dai = &ak4104_dai; |
223 | codec->num_dai = 1; | 223 | codec->num_dai = 1; |
224 | codec->private_data = ak4104; | 224 | snd_soc_codec_set_drvdata(codec, ak4104); |
225 | codec->control_data = spi; | 225 | codec->control_data = spi; |
226 | codec->reg_cache = ak4104->reg_cache; | 226 | codec->reg_cache = ak4104->reg_cache; |
227 | codec->reg_cache_size = AK4104_NUM_REGS; | 227 | codec->reg_cache_size = AK4104_NUM_REGS; |