]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: compress: Pass error out of soc_compr_pointer
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 20 Jun 2016 08:51:32 +0000 (09:51 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jun 2016 15:16:02 +0000 (16:16 +0100)
commitdb505ad143b272c749bf8ebb1d6eff5767c768a8
tree2f3833ccf79df920f1898b2e3914461d14a08cff
parentfedb2b264c1c2674c337b6ff429a25a48e3b92bc
ASoC: compress: Pass error out of soc_compr_pointer

Both soc_compr_pointer and the platform driver pointer callback return
ints but current soc_compr_pointer always returns 0. Update this so we
return the actual value from the platform driver callback. This doesn't
fix any issues simply makes the code more consistent.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-compress.c