MLK-10183 ASoC: wm8962: separate ALC Coefficients to four reigsters
authorZidan Wang <zidan.wang@freescale.com>
Thu, 29 Oct 2015 09:26:14 +0000 (17:26 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:09 +0000 (14:49 -0500)
commit24c1ae53cd02c5be1a8cb27eb431a367a8f545d9
treee87737c137cb819ec722d45d50811d283f9732d9
parent4f1c11f19a95428a19d0d4163b885fe549d8e406
MLK-10183 ASoC: wm8962: separate ALC Coefficients to four reigsters

Attempt to read volatile register when cache_only is set will return
EBUSY. After playback/record, wm8962_runtime_suspend function will set
cache_only flag, so the volitale register ALC2 can't be read from cache.

Separate ALC Coefficients to four reigsters, the volatile register ALC2
will be read from hardware instead of cache.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit 5ec8878be12530517b4c8ae307441a0ac16071a3)
sound/soc/codecs/wm8962.c