Commit 6b8ac43c authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: soc-dai: use bit field for bus_control

.bus_control can be bit field.
this patch do it.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87v9uszazh.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent a4de83a3
...@@ -293,8 +293,6 @@ struct snd_soc_dai_driver { ...@@ -293,8 +293,6 @@ struct snd_soc_dai_driver {
/* Optional Callback used at pcm creation*/ /* Optional Callback used at pcm creation*/
int (*pcm_new)(struct snd_soc_pcm_runtime *rtd, int (*pcm_new)(struct snd_soc_pcm_runtime *rtd,
struct snd_soc_dai *dai); struct snd_soc_dai *dai);
/* DAI is also used for the control bus */
bool bus_control;
/* ops */ /* ops */
const struct snd_soc_dai_ops *ops; const struct snd_soc_dai_ops *ops;
...@@ -306,6 +304,7 @@ struct snd_soc_dai_driver { ...@@ -306,6 +304,7 @@ struct snd_soc_dai_driver {
unsigned int symmetric_rates:1; unsigned int symmetric_rates:1;
unsigned int symmetric_channels:1; unsigned int symmetric_channels:1;
unsigned int symmetric_samplebits:1; unsigned int symmetric_samplebits:1;
unsigned int bus_control:1; /* DAI is also used for the control bus */
/* probe ordering - for components with runtime dependencies */ /* probe ordering - for components with runtime dependencies */
int probe_order; int probe_order;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment