summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@freescale.com>2017-06-14 17:35:20 +0800
committerShengjiu Wang <shengjiu.wang@freescale.com>2017-06-15 11:30:52 +0800
commit19ff1095d4b68d17a5f68a2de5654be72b606809 (patch)
tree3d8f94d6e88e28aaaf03a9cc17db8379b0356add /include
parentc548ad11ca30e857c2c1328ecdce3b04eab4e520 (diff)
MLK-15043-1: ASoC: soc-pcm: add dpcm_merged_chan in snd_soc_dai_link
According to commit b073ed4e2126 ("ASoC: soc-pcm: DPCM cares BE format"), Current DPCM only care FE channel, but it will set unsupported channel to drivers. So add dpcm_merged_chan, which is used to merge the BE's codec channels configuration to FE if it exist in snd_soc_dai_link. And dpcm_runtime_base_chan function is to get the channel configuration of BE, which likes the dpcm_runtime_base_format function. Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 4f1c784e44f6..7551854f2d16 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1052,6 +1052,7 @@ struct snd_soc_dai_link {
/* DPCM used FE & BE merged format */
unsigned int dpcm_merged_format:1;
+ unsigned int dpcm_merged_chan:1;
/* pmdown_time is ignored at stop */
unsigned int ignore_pmdown_time:1;