aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2024-09-05 05:14:29 +0000
committerMark Brown <[email protected]>2024-09-06 14:36:44 +0100
commit4849b2f78020cf0e3ba67777aadd07c620c91811 (patch)
treea71d52fde9667f6f65ea6393f3472a25a7024431
parent3c5a18a10a8c6fab27739e6e7bd0e4c0aa854d92 (diff)
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 <[email protected]> Cc: Amadeusz Sławiński <[email protected]> Cc: Cezary Rojewski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--include/sound/soc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 81ef380b2e06..e6e359c1a2ac 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -1207,8 +1207,7 @@ struct snd_soc_pcm_runtime {
/* bit field */
unsigned int pop_wait:1;
unsigned int fe_compr:1; /* for Dynamic PCM */
-
- bool initialized;
+ unsigned int initialized:1;
/* CPU/Codec/Platform */
int num_components;