ASoC: soc-component: replace bool member to bit field

soc-component has meny bit fields (A), no need to have bool member (B).
Let's makes it as bit field, too

	struct snd_soc_component_driver {
		...
 ^	        unsigned int module_get_upon_open:1;
(A)	        unsigned int idle_bias_on:1;
 |	        unsigned int suspend_bias_off:1;
 |		...
 v		unsigned int legacy_dai_naming:1;
		...
(B)		bool use_dai_pcm_id;
		...
	}

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Alvin Šipraga <alvin.sipraga@analog.com>
Link: https://patch.msgid.link/87mrshyom0.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2026-10-14 02:58:47 +00:00 committed by Mark Brown
parent 3901d17c97
commit 0ce431a9fc
No known key found for this signature in database
GPG Key ID: 2FEF73B0B3D03889

View File

@ -196,11 +196,13 @@ struct snd_soc_component_driver {
unsigned int endianness:1;
unsigned int legacy_dai_naming:1;
/* use DAI link PCM ID as PCM device number */
unsigned int use_dai_pcm_id:1;
/* this component uses topology and ignore machine driver FEs */
const char *ignore_machine;
const char *topology_name_prefix;
bool use_dai_pcm_id; /* use DAI link PCM ID as PCM device number */
int be_pcm_base; /* base device ID for all BE PCMs */
const char *debugfs_prefix;