]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:43:18 +0000 (15:43 -0700)
commit9394945e1801493bd6d984da8809badf1e956eb4
treef00f33e535b0d10fd5d749698376ec030fcb7966
parent797c9acec70c593b2632a57f5e7d392fbb72df06
ASoC: wm8974: set cache type for regmap

Orabug: 23330537

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>
(cherry picked from commit 1fce19176555fdad16a9933965f36e514514d092)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
sound/soc/codecs/wm8974.c