[PATCH 0/2] *** wm8962 regmap related fix ***

From: Jiada Wang
Date: Tue Oct 06 2015 - 03:08:46 EST


This patch set aims to fix issues in wm8962 codec driver related to regmap,
currently any attempt to read from ALC Coefficient register will fail
when wm8962 is in suspend mode. As ALC2 register is volatile register,
it can't be read when cache_only flag is set.

Another issue is, if wm8962's regulator is set to 'regulator-always-on'
mode, then after wm8962 is resumed from suspend, wm8962 codec is reset,
but cache_dirty flag isn't set, this cause difference between actual wm8962
HW and regmap cache.

Jiada Wang (2):
ASoC: WM8962: mark cache_dirty flag after software reset in pm_resume
ASoC: Codec: wm8962: declare ALC Coefficients as 4 separate registers

sound/soc/codecs/wm8962.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

--
2.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/