]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-cache: Warn on syncing any non-writable registers
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Mon, 28 Mar 2011 10:39:15 +0000 (11:39 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Mar 2011 21:21:29 +0000 (06:21 +0900)
commit6d3bfeb0c9613364b2882eae097e201ac3379815
treecf300d095ab70d3b5b897fc5581bd3b057a55837
parentd29d749e5b8216a46fb78bd3013fc8c313ce6e60
ASoC: soc-cache: Warn on syncing any non-writable registers

When syncing the cache, if the driver has given us a writable_register()
callback, use it to check if we are syncing a non-writable register
and if so warn the user.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-cache.c