ASoC: wm8974: set cache type for regmap
authorMans Rullgard <mans@mansr.com>
Fri, 11 Dec 2015 11:27:08 +0000 (11:27 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 12 Dec 2015 22:22:06 +0000 (22:22 +0000)
commit1ea5998afe903384ddc16391d4c023cd4c867bea
treee63064fcf6fe1d2a16a7fff254151939b7887f69
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: wm8974: set cache type for regmap

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>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8974.c