Browse Source

Merge tag 'asoc-v3.17-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus

ASoC: Fix SSM2602 device identification

Another fix for v3.17, fixing device identification after the split out
of the I2C and SPI code.
Takashi Iwai 11 năm trước cách đây
mục cha
commit
b7c2dc8e68
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      sound/soc/codecs/ssm2602.c

+ 1 - 1
sound/soc/codecs/ssm2602.c

@@ -647,7 +647,7 @@ int ssm2602_probe(struct device *dev, enum ssm2602_type type,
 		return -ENOMEM;
 
 	dev_set_drvdata(dev, ssm2602);
-	ssm2602->type = SSM2602;
+	ssm2602->type = type;
 	ssm2602->regmap = regmap;
 
 	return snd_soc_register_codec(dev, &soc_codec_dev_ssm2602,