]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Fix check before setting default I/O up try regmap
authorXiubo Li <Li.Xiubo@freescale.com>
Tue, 11 Mar 2014 04:43:22 +0000 (12:43 +0800)
committerMark Brown <broonie@linaro.org>
Tue, 11 Mar 2014 09:59:06 +0000 (09:59 +0000)
commit96b51120947dc255943bec1ca415c9aa574c6648
tree3f1d0b9e20208ce3d62d57444352b981b61682cb
parent33c3b7c0fe01e475db8e5459c6861cf87a8792fa
ASoC: core: Fix check before setting default I/O up try regmap

Since the CODEC driver could specify its own I/O(read and write)
while registering the CODEC for some reason, maybe the MFDs is
used, etc.

So just do check it, if they are not specified by CODEC driver
then try to set up the default regmap I/O if regmap is used.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c