]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4173f18289d92861cbcc636aa3c89504f4f82666
treef43a196aa5c4926ab39358d44596e7184348535e
parent3a1f9ff626c9913fc82d3f5d6f545806a456ed3b
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