diff options
Diffstat (limited to 'sound/soc/codecs/wm8971.c')
-rw-r--r-- | sound/soc/codecs/wm8971.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8971.c b/sound/soc/codecs/wm8971.c index 8805636bda53..572bb80627a4 100644 --- a/sound/soc/codecs/wm8971.c +++ b/sound/soc/codecs/wm8971.c | |||
@@ -720,6 +720,7 @@ static __devinit int wm8971_i2c_probe(struct i2c_client *i2c, | |||
720 | if (wm8971 == NULL) | 720 | if (wm8971 == NULL) |
721 | return -ENOMEM; | 721 | return -ENOMEM; |
722 | 722 | ||
723 | wm8971->control_type = SND_SOC_I2C; | ||
723 | i2c_set_clientdata(i2c, wm8971); | 724 | i2c_set_clientdata(i2c, wm8971); |
724 | 725 | ||
725 | ret = snd_soc_register_codec(&i2c->dev, | 726 | ret = snd_soc_register_codec(&i2c->dev, |