aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8940.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/wm8940.c')
-rw-r--r--sound/soc/codecs/wm8940.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index fc7761fa8bd3..25580e3ee7c4 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -766,6 +766,7 @@ static __devinit int wm8940_i2c_probe(struct i2c_client *i2c,
766 766
767 i2c_set_clientdata(i2c, wm8940); 767 i2c_set_clientdata(i2c, wm8940);
768 wm8940->control_data = i2c; 768 wm8940->control_data = i2c;
769 wm8940->control_type = SND_SOC_I2C;
769 770
770 ret = snd_soc_register_codec(&i2c->dev, 771 ret = snd_soc_register_codec(&i2c->dev,
771 &soc_codec_dev_wm8940, &wm8940_dai, 1); 772 &soc_codec_dev_wm8940, &wm8940_dai, 1);