diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-08-20 08:05:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-22 20:30:26 +0300 |
commit | 6b8ac43c33b912bc5435192ce3b3f051f6f2dc9d (patch) | |
tree | 7c506f845e5fd3c5c912378802c8d9c856ef8820 /include | |
parent | a4de83a385670c22c31e9bbb726595a447b32ba4 (diff) | |
download | linux-6b8ac43c33b912bc5435192ce3b3f051f6f2dc9d.tar.xz |
ASoC: soc-dai: use bit field for bus_control
.bus_control can be bit field.
this patch do it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87v9uszazh.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-dai.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index dc48fe081a20..939c73db6a03 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -293,8 +293,6 @@ struct snd_soc_dai_driver { /* Optional Callback used at pcm creation*/ int (*pcm_new)(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); - /* DAI is also used for the control bus */ - bool bus_control; /* ops */ const struct snd_soc_dai_ops *ops; @@ -306,6 +304,7 @@ struct snd_soc_dai_driver { unsigned int symmetric_rates:1; unsigned int symmetric_channels: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 */ int probe_order; |