ASoC: sh: fsi: add fsi_is_clk_master function
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 21 Apr 2011 01:33:36 +0000 (10:33 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Apr 2011 10:40:55 +0000 (11:40 +0100)
commit6a9ebad8214bba404255d1b209a038dc739c37b7
treefa1358f9056069933a1ead5ee5551c1c34b716ab
parent5debd6c14c302614764d7fcc8fe958c310c3d3b7
ASoC: sh: fsi: add fsi_is_clk_master function

If FSI port is clock master, it use set_rate function
which is callback from platform,
and it is not necessary to call it if FSI port is clock slave.
Current FSI driver called this callback if platform provide it.
This patch modify it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Simon Horman <simon@horms.net>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/fsi.c