From: Mark Brown Date: Tue, 2 Oct 2012 11:02:48 +0000 (+0100) Subject: ASoC: wm2200: Use rev A register patches on rev B X-Git-Tag: firefly_0821_release~3680^2~1589^2~52^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5ae9eb4cbdfd640269dbd66aa3c92ea8e11cc838;p=firefly-linux-kernel-4.4.55.git ASoC: wm2200: Use rev A register patches on rev B Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c index efa93dbb0191..2008b7b533bb 100644 --- a/sound/soc/codecs/wm2200.c +++ b/sound/soc/codecs/wm2200.c @@ -2091,6 +2091,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c, switch (wm2200->rev) { case 0: + case 1: ret = regmap_register_patch(wm2200->regmap, wm2200_reva_patch, ARRAY_SIZE(wm2200_reva_patch)); if (ret != 0) {