diff options
Diffstat (limited to 'sound/soc/codecs/ak4642.c')
-rw-r--r-- | sound/soc/codecs/ak4642.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c index de1809dc8d91..1254a7ac561e 100644 --- a/sound/soc/codecs/ak4642.c +++ b/sound/soc/codecs/ak4642.c | |||
@@ -431,7 +431,7 @@ static int ak4642_init(struct ak4642_priv *ak4642) | |||
431 | INIT_LIST_HEAD(&codec->dapm_widgets); | 431 | INIT_LIST_HEAD(&codec->dapm_widgets); |
432 | INIT_LIST_HEAD(&codec->dapm_paths); | 432 | INIT_LIST_HEAD(&codec->dapm_paths); |
433 | 433 | ||
434 | codec->private_data = ak4642; | 434 | snd_soc_codec_set_drvdata(codec, ak4642); |
435 | codec->name = "AK4642"; | 435 | codec->name = "AK4642"; |
436 | codec->owner = THIS_MODULE; | 436 | codec->owner = THIS_MODULE; |
437 | codec->read = ak4642_read_reg_cache; | 437 | codec->read = ak4642_read_reg_cache; |