summaryrefslogtreecommitdiffstats
path: root/include/sound/simple_card.h
diff options
context:
space:
mode:
authorXiubo Li <Li.Xiubo@freescale.com>2014-02-14 09:34:36 +0800
committerMark Brown <broonie@linaro.org>2014-02-23 14:26:37 +0900
commit6ff62eedce4f7756b092d276165d8e11edab9f28 (patch)
treeb52cfb38d78ce03aa49ac270d556b5d0e099c69f /include/sound/simple_card.h
parentff2878644eed7765a917a02d0af864697ceaf73e (diff)
downloadlinux-6ff62eedce4f7756b092d276165d8e11edab9f28.tar.bz2
ASoC: simple-card: add slot information parsing supports
For some CPU/CODEC DAI devices the slot information maybe needed. This patch adds the slot information parsing for simple-card driver. Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound/simple_card.h')
-rw-r--r--include/sound/simple_card.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/simple_card.h b/include/sound/simple_card.h
index e1ac996c8feb..9b0ac77177b6 100644
--- a/include/sound/simple_card.h
+++ b/include/sound/simple_card.h
@@ -18,6 +18,8 @@ struct asoc_simple_dai {
const char *name;
unsigned int fmt;
unsigned int sysclk;
+ int slots;
+ int slot_width;
};
struct asoc_simple_card_info {