summaryrefslogtreecommitdiffstats
path: root/include/sound/simple_card.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2016-06-30 08:02:46 +0200
committerMark Brown <broonie@kernel.org>2016-07-01 17:34:02 +0200
commitcecdef3656956b0978bf86ecd1ce0542d2c61e97 (patch)
tree894008aaf663544a1f4aed351284319daf78459f /include/sound/simple_card.h
parentASoC: add new simple-card-utils.c (diff)
downloadlinux-cecdef3656956b0978bf86ecd1ce0542d2c61e97.tar.xz
linux-cecdef3656956b0978bf86ecd1ce0542d2c61e97.zip
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.h')
-rw-r--r--include/sound/simple_card.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/sound/simple_card.h b/include/sound/simple_card.h
index 0399352f3a62..a6a2e1547092 100644
--- a/include/sound/simple_card.h
+++ b/include/sound/simple_card.h
@@ -13,16 +13,7 @@
#define __SIMPLE_CARD_H
#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;
-};
+#include <sound/simple_card_utils.h>
struct asoc_simple_card_info {
const char *name;