Skip to content

Commit 4849b2f

Browse files
morimotobroonie
authored andcommitted
ASoC: makes rtd->initialized bit field
rtd->initialized is used to know whether soc_init_pcm_runtime() was correctly fined, and used to call snd_soc_link_exit(). We don't need to have it as bool, let's make it bit-field same as other flags. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Cc: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/87o752k7gq.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3c5a18a commit 4849b2f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/sound/soc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,8 +1207,7 @@ struct snd_soc_pcm_runtime {
12071207
/* bit field */
12081208
unsigned int pop_wait:1;
12091209
unsigned int fe_compr:1; /* for Dynamic PCM */
1210-
1211-
bool initialized;
1210+
unsigned int initialized:1;
12121211

12131212
/* CPU/Codec/Platform */
12141213
int num_components;

0 commit comments

Comments
 (0)