From: Eric Bénard Date: Sun, 29 Apr 2012 15:37:57 +0000 (+0200) Subject: ASoC: tlv312aic23: unbreak resume X-Git-Tag: v3.4-rc6~6^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e875c1e3e758447ba81ca450d89434b3b0496d37;p=pandora-kernel.git ASoC: tlv312aic23: unbreak resume * commit f9dfbf9 "ASoC: tlv320aic23: convert to soc-cache" leads to a bug preventing resumeof the codec as regmap expects a 9 bits data register but 0xFFFF is passed in tlv320aic23_set_bias_level and this values gets cached preventing any write to the TLV320AIC23_PWR register as the final value produced by regmap is (register << 9) | value * this patch solves the problem by only working on the 9 bits the register contains. Signed-off-by: Eric Bénard Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed