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)
commit7c9190f7e7428487cd67839f9a547efcc9ec3b9b
tree2f3833ccf79df920f1898b2e3914461d14a08cff
parenta4f2d87c63571d4cd9467d369f2fbf2362646043
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