diff options
Diffstat (limited to 'sound/soc/codecs/ad193x.c')
-rw-r--r-- | sound/soc/codecs/ad193x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c index 4bfd66bc2624..7ed787e2e519 100644 --- a/sound/soc/codecs/ad193x.c +++ b/sound/soc/codecs/ad193x.c | |||
@@ -305,7 +305,7 @@ static int ad193x_bus_probe(struct device *dev, void *ctrl_data, int bus_type) | |||
305 | mutex_init(&codec->mutex); | 305 | mutex_init(&codec->mutex); |
306 | codec->control_data = ctrl_data; | 306 | codec->control_data = ctrl_data; |
307 | codec->dev = dev; | 307 | codec->dev = dev; |
308 | codec->private_data = ad193x; | 308 | snd_soc_codec_set_drvdata(codec, ad193x); |
309 | codec->reg_cache = ad193x->reg_cache; | 309 | codec->reg_cache = ad193x->reg_cache; |
310 | codec->reg_cache_size = AD193X_NUM_REGS; | 310 | codec->reg_cache_size = AD193X_NUM_REGS; |
311 | codec->name = "AD193X"; | 311 | codec->name = "AD193X"; |