ASoC: soc-cache: Return -ENOSYS instead of -EINVAL
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Tue, 22 Mar 2011 10:48:49 +0000 (10:48 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 26 Mar 2011 17:45:08 +0000 (17:45 +0000)
commitacd61451e55ea5848a6ab50d39a103e146fcf7ba
tree43d4871ef699381147e5c2c025411945e1255876
parent30539a18d366cff6b21f66a81e4d9dccc4a90c89
ASoC: soc-cache: Return -ENOSYS instead of -EINVAL

These functions fail with -EINVAL if the corresponding callbacks
are not implemented.  Change them to return -ENOSYS as it is more
appropriate for unimplemented callbacks.

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