diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2026-10-14 02:58:47 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-15 23:13:14 +0100 |
| commit | 0ce431a9fc6941792ccf9fdc3e7e52f9823ccade (patch) | |
| tree | 23ad99f373dedd6962b63a7f7fbcaed1b9681472 /include | |
| parent | 3901d17c976fcc4cf5930ba0350b779034091b80 (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc-component.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h index 61898a45d83f..149c4d4f9403 100644 --- a/include/sound/soc-component.h +++ b/include/sound/soc-component.h @@ -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; |
