summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorKuninori Morimoto2019-05-13 09:07:27 +0200
committerMark Brown2019-05-13 13:45:07 +0200
commit7426af5010d1b4a109e5d7ee639f3c3e0e5b3cdd (patch)
tree81b6f77e39bd9e55f8ab553ab1e00423402dfa03 /include/sound
parentASoC: soc-core: use soc_find_component() at snd_soc_get_dai_id() (diff)
downloadkernel-qcow2-linux-7426af5010d1b4a109e5d7ee639f3c3e0e5b3cdd.tar.gz
kernel-qcow2-linux-7426af5010d1b4a109e5d7ee639f3c3e0e5b3cdd.tar.xz
kernel-qcow2-linux-7426af5010d1b4a109e5d7ee639f3c3e0e5b3cdd.zip
ASoC: soc.h: fe_compr can be bit field
fe_compr is used at soc-compress, it can be bit field. This patch move it from int to bit field. > grep fe_compr -r sound/soc/* sound/soc/soc-compress.c: rtd->fe_compr = 1; sound/soc/soc-pcm.c: if (!fe->dpcm[stream].runtime && !fe->fe_compr) Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 482b4ea87c3c..f20785aa7b4a 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1214,7 +1214,6 @@ struct snd_soc_pcm_runtime {
/* Dynamic PCM BE runtime data */
struct snd_soc_dpcm_runtime dpcm[2];
- int fe_compr;
long pmdown_time;
@@ -1239,6 +1238,7 @@ struct snd_soc_pcm_runtime {
/* bit field */
unsigned int dev_registered:1;
unsigned int pop_wait:1;
+ unsigned int fe_compr:1; /* for Dynamic PCM */
};
#define for_each_rtd_codec_dai(rtd, i, dai)\
for ((i) = 0; \