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)
commit1104a9c822f0e9f5e57a236f20a142166dd8f91e
treeff1de4e8091fedac14189aa09c6a4bf51d92cda3
parentdcf0fa27a56025793a700e81edd261ee3369e294
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