]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: wm8974: set cache type for regmap
authorMans Rullgard <mans@mansr.com>
Fri, 11 Dec 2015 11:27:08 +0000 (11:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Jan 2016 19:25:48 +0000 (11:25 -0800)
commit5e201204474d4760bb496b77b01b8e143cdaf20e
treefcc99455b0e3c1e4a1a44246b8de36e0df79435d
parent66e7f16cf867a10f4023ddd4cee6ec385b2964ce
ASoC: wm8974: set cache type for regmap

commit 1ea5998afe903384ddc16391d4c023cd4c867bea upstream.

Attempting to use this codec driver triggers a BUG() in regcache_sync()
since no cache type is set.  The register map of this device is fairly
small and has few holes so a flat cache is suitable.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm8974.c