diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2024-09-05 07:14:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-06 15:36:44 +0200 |
commit | 4849b2f78020cf0e3ba67777aadd07c620c91811 (patch) | |
tree | a71d52fde9667f6f65ea6393f3472a25a7024431 /include/sound | |
parent | ASoC: amd: acp: Return in-case of error (diff) | |
download | linux-4849b2f78020cf0e3ba67777aadd07c620c91811.tar.xz linux-4849b2f78020cf0e3ba67777aadd07c620c91811.zip |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 3 |
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; |