]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Return -ENOTSUPP from set_sysclk() if no operation provided
authorMark Brown <broonie@linaro.org>
Wed, 15 Jan 2014 19:04:19 +0000 (19:04 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 15 Jan 2014 23:06:59 +0000 (23:06 +0000)
commit6e5a5ffb1527054a59813d0a4565a5781b9502c2
treeff1de4e8091fedac14189aa09c6a4bf51d92cda3
parent8d0cdfbb9b79a49034c5e5a6d7157fbeca42ac35
ASoC: core: Return -ENOTSUPP from set_sysclk() if no operation provided

Make it easier for generic code to work with set_sysclk() by distinguishing
between the operation not being supported and an error as is done for
other operations like set_dai_fmt()

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