OSDN Git Service

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)
commit1236fa1e3c29922d201da0926aa8d62427f74814
tree4b803e5a55f2e08bbec567783eb3848c5a7e5c28
parent1001354ca34179f3db924eb66672442a173147dc
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