OSDN Git Service

ASoC: rsnd: rsnd_ssi_can_output_clk() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 8 Aug 2017 01:32:42 +0000 (01:32 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 8 Aug 2017 11:03:50 +0000 (12:03 +0100)
commitbb002f925ae18c0c9d72d87b74b311a5209d7178
tree1b6f9210ccfe0dcfe7f5385a98cb901ebf19cf06
parentbf23c6a3813aac96e0af01565aba012b25c8bae5
ASoC: rsnd: rsnd_ssi_can_output_clk() macro

For example SSI0/SSI1 case, SSI1 can share pin with SSI0.
And then, SSI1 needs SSI0's clock.
This clock controlling is very picky and difficult to understand
in current code.

This patch adds new rsnd_ssi_can_output_clk() macro,
the code will be more understandable.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c