ASoC: core: set_tdm_slot() will return -ENOTSUPP if no operation provided
authorXiubo Li <Li.Xiubo@freescale.com>
Thu, 23 Jan 2014 05:02:47 +0000 (13:02 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 23 Jan 2014 19:29:26 +0000 (19:29 +0000)
commitb2cbb6e1c1544fc889ee7d6c6a6c229c20cd03cd
tree10abf69a8c364b44387b95012a64ba2e8d6edc2e
parent7552f34a790069a008bd3e2ab4c0954b30c2f63b
ASoC: core: set_tdm_slot() will return -ENOTSUPP if no operation provided

Make it easier for generic code to work with set_tdm_slot() by distinguishing
between the operation not being supported and an error as is done.

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