]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc.h: use bit field for playback/capture_only
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 24 Oct 2016 00:44:10 +0000 (00:44 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 15:11:42 +0000 (16:11 +0100)
commit85e8863a447e686cd1a8065d7318edf9ae3a6e06
tree4b803e5a55f2e08bbec567783eb3848c5a7e5c28
parenta245803230f587f66ceddc152f3504b2a960aac2
ASoC: soc.h: use bit field for playback/capture_only

Current snd_soc_dai_link is already using many bit fields.
Let's use it for playback_only/capture_only too.
We can reduce struct size in certain environment.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h