OSDN Git Service

ASoC: dapm: Introduce DAPM_DOUBLE_R dual channel dual register control type
authorChen-Yu Tsai <wens@csie.org>
Wed, 2 Nov 2016 07:36:01 +0000 (15:36 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 2 Nov 2016 15:55:30 +0000 (09:55 -0600)
commit02866eab0f0d88c4b6a68de72022c2b26f0359b5
tree015dd84f1fe551f1a7f0a3aa8dd17abb0c9f9aeb
parent9ee7ef31b5a07cdca88cae023c613e045af935b9
ASoC: dapm: Introduce DAPM_DOUBLE_R dual channel dual register control type

A DAPM_DOUBLE_R control type can be used for dual channel mixer input
selectors / mute controls across 2 registers, possibly toggling both
channels together.

The control is meant to be shared by 2 widgets, 1 for each channel,
such that the mixer control exposed to userspace remains a combined
stereo control.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h