ASoC: fsi: data push/pop calculation part was divided
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 3 Feb 2012 08:50:59 +0000 (00:50 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Feb 2012 11:55:38 +0000 (11:55 +0000)
commit376cf38a90507f82d22b951b7776557aefe6109c
treec8a7e3322e6730307b4b4d8293a690c186c68644
parent4e62d84d9da5190c303d6408180fbfee414d25bc
ASoC: fsi: data push/pop calculation part was divided

Next transfer data size of "push" and "pop" had calculated on shared function.
But it was not readable code.
This patch divided it into for push, and for pop.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/fsi.c