ASoC: simple_card_utils: add asoc_simple_card_clk_xxx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 9 Jun 2017 00:43:18 +0000 (00:43 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 13 Jun 2017 20:57:47 +0000 (21:57 +0100)
commit891caea417469b4efdf506b6be1ef461b759c999
tree0067501741dec536c5491a178ef179472fc3c903
parent03cf603a49a82938b05d9b448938cd0a541ed374
ASoC: simple_card_utils: add asoc_simple_card_clk_xxx()

Current simple-card-utils sets asoc_simple_dai::clk via
asoc_simple_card_parse_clk().
Current simple card drivers are using it directly for
clk_enable/disable.
Encapsulation is one of simple card util's purpose.
Let's encapsulate it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/simple-card-utils.c