Commit a7df0d3b authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: bunch up bit field for snd_soc_pcm_runtime

We can reduce struct size in certain environment.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1236fa1e
...@@ -1203,14 +1203,11 @@ struct snd_soc_pcm_runtime { ...@@ -1203,14 +1203,11 @@ struct snd_soc_pcm_runtime {
enum snd_soc_pcm_subclass pcm_subclass; enum snd_soc_pcm_subclass pcm_subclass;
struct snd_pcm_ops ops; struct snd_pcm_ops ops;
unsigned int dev_registered:1;
/* Dynamic PCM BE runtime data */ /* Dynamic PCM BE runtime data */
struct snd_soc_dpcm_runtime dpcm[2]; struct snd_soc_dpcm_runtime dpcm[2];
int fe_compr; int fe_compr;
long pmdown_time; long pmdown_time;
unsigned char pop_wait:1;
/* runtime devices */ /* runtime devices */
struct snd_pcm *pcm; struct snd_pcm *pcm;
...@@ -1232,6 +1229,10 @@ struct snd_soc_pcm_runtime { ...@@ -1232,6 +1229,10 @@ struct snd_soc_pcm_runtime {
unsigned int num; /* 0-based and monotonic increasing */ unsigned int num; /* 0-based and monotonic increasing */
struct list_head list; /* rtd list of the soc card */ struct list_head list; /* rtd list of the soc card */
/* bit field */
unsigned int dev_registered:1;
unsigned int pop_wait:1;
}; };
/* mixer control */ /* mixer control */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment