ASoC: snd_soc_codec_{readable,writable}_register change default to true
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 27 Aug 2011 16:24:12 +0000 (18:24 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 31 Aug 2011 08:46:01 +0000 (09:46 +0100)
commit63fa0a288cfedca681175fe13cf15677e944cdb2
treef43a196aa5c4926ab39358d44596e7184348535e
parent728a52222461a8cf0d5c375da1ef514a72d5194b
ASoC: snd_soc_codec_{readable,writable}_register change default to true

Change the default return value of snd_soc_codec_{readable,writable}_register to
true when no codec specific callback for this function is given. Otherwise all
registers of that codec will neither be readable nor writable, which is most
certainly not what we want.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c