[alsa-devel] [PATCH] ASoC: bunch up bit field for snd_soc_dai
24 Oct
2016
24 Oct
'16
7:25 a.m.
From: Kuninori Morimoto kuninori.morimoto.gx@renesas.com
We can reduce struct size in certain environment.
Signed-off-by: Kuninori Morimoto kuninori.morimoto.gx@renesas.com --- include/sound/soc-dai.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 964b7de..d0ae96b 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -268,8 +268,9 @@ struct snd_soc_dai { unsigned int symmetric_rates:1; unsigned int symmetric_channels:1; unsigned int symmetric_samplebits:1; + unsigned int probed:1; + unsigned int active; - unsigned char probed:1;
struct snd_soc_dapm_widget *playback_widget; struct snd_soc_dapm_widget *capture_widget;
--
1.9.1
2943
Age (days ago)
2943
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kuninori Morimoto