]> git.openfabrics.org - ~shefty/rdma-dev.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)
commit04570c628fbd5ede85d87a0b81bd19df7b13bbc4
treeb65f986f5c693ac92482eb3242b60607663fe3a1
parent60884c2767e0d9314a49e1ee7a0661b3464989c1
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