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 bdeb10dfd887..192aebda3029 100644 --- a/sound/soc/codecs/ak4104.c +++ b/sound/soc/codecs/ak4104.c | |||
@@ -222,7 +222,7 @@ static int ak4104_spi_probe(struct spi_device *spi) | |||
222 | codec->owner = THIS_MODULE; | 222 | codec->owner = THIS_MODULE; |
223 | codec->dai = &ak4104_dai; | 223 | codec->dai = &ak4104_dai; |
224 | codec->num_dai = 1; | 224 | codec->num_dai = 1; |
225 | codec->private_data = ak4104; | 225 | snd_soc_codec_set_drvdata(codec, ak4104); |
226 | codec->control_data = spi; | 226 | codec->control_data = spi; |
227 | codec->reg_cache = ak4104->reg_cache; | 227 | codec->reg_cache = ak4104->reg_cache; |
228 | codec->reg_cache_size = AK4104_NUM_REGS; | 228 | codec->reg_cache_size = AK4104_NUM_REGS; |