diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-06-30 09:02:46 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-07-01 18:34:02 +0300 |
commit | cecdef3656956b0978bf86ecd1ce0542d2c61e97 (patch) | |
tree | 894008aaf663544a1f4aed351284319daf78459f /include/sound/simple_card_utils.h | |
parent | abd3147e69481caade441e8d8296fa3f541aea03 (diff) | |
download | linux-cecdef3656956b0978bf86ecd1ce0542d2c61e97.tar.xz |
ASoC: simple-card: use asoc_simple_card_parse_daifmt()
We can use simpel utils asoc_simple_card_parse_daifmt().
Let's use it
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/simple_card_utils.h')
-rw-r--r-- | include/sound/simple_card_utils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h index 7acc798016e0..50aa7b22a94c 100644 --- a/include/sound/simple_card_utils.h +++ b/include/sound/simple_card_utils.h @@ -12,6 +12,16 @@ #include <sound/soc.h> +struct asoc_simple_dai { + const char *name; + unsigned int sysclk; + int slots; + int slot_width; + unsigned int tx_slot_mask; + unsigned int rx_slot_mask; + struct clk *clk; +}; + int asoc_simple_card_parse_daifmt(struct device *dev, struct device_node *node, struct device_node *codec, |