]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Return -ENOTSUPP instead of -EINVAL if mute is not supported
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Apr 2012 18:16:03 +0000 (19:16 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 18:36:29 +0000 (19:36 +0100)
commit629947573661d271189ac924786b7be9dd1e5aa5
treeb65f986f5c693ac92482eb3242b60607663fe3a1
parentb087f5416c4821c52a264d5ed23b06e4dc516bdc
ASoC: core: Return -ENOTSUPP instead of -EINVAL if mute is not supported

This helps us ignore errors in callers if the operation failed due to not
being available as opposed to an error.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-core.c