]> 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)
commitfcfadb93750abae3353666bcc1ba2a49704d9a76
tree3f1d0b9e20208ce3d62d57444352b981b61682cb
parent75bc90bda442b7948923ca59415cbe542a6e78c1
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