ASoC: wm8974: set cache type for regmap

commit 1ea5998afe 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: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Mans Rullgard 2015-12-11 11:27:08 +00:00 • committed by Luis Henriques
commit 97b714c88c