ASoC: fsi: merge fsi_data_push/pop to fsi_fifo_data_ctrl
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 17 Sep 2010 04:49:05 +0000 (13:49 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Sep 2010 19:45:04 +0000 (20:45 +0100)
commitd8b33534921796825a839cab222a1888c5e7256e
treeca85238378e48f89915d4aa1946379ebdd4cbd56
parent5bfb9ad0840b15d9c45d25a05e4ff9ae5eb80508
ASoC: fsi: merge fsi_data_push/pop to fsi_fifo_data_ctrl

Current FSI driver had data push/pop functions.
But the main operation of these 2 were very similar.
This mean it is possible to merge these to 1 function.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/fsi.c