]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cache: Fix error code when not using ASoC level cache
authorMark Brown <broonie@linaro.org>
Mon, 2 Jun 2014 15:08:21 +0000 (16:08 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 2 Jun 2014 15:08:21 +0000 (16:08 +0100)
commit6221f1d2fd1fbcc79c1964a5be7000f62f9b553f
treed922a107cac88df9b57b4e25b7f52d0b3e0f8109
parentc03a2ecb632dd139ee2a49d302bbcb64877029e6
ASoC: cache: Fix error code when not using ASoC level cache

It is not an error to have no cache so we shouldn't return an error code
and cause our callers to fail, just silently do nothing instead.  Thanks
to Jarkko for identify the problematic commit.

Reported-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reported-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-cache.c