]> git.ipfire.org Git - people/arne_f/kernel.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>
Fri, 29 Jan 2016 05:57:08 +0000 (21:57 -0800)
commitf4e1e1f2924e1d199182b7ad4643085dd61c11e0
tree12b78ad80d13daced6bc960079840201701eb4ed
parentb0f400767dccda1ebe81f6d450e99a7e60bae483
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