ASoC: dapm: Introduce DAPM_DOUBLE dual channel control type
authorChen-Yu Tsai <wens@csie.org>
Wed, 2 Nov 2016 07:36:00 +0000 (15:36 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 2 Nov 2016 15:55:29 +0000 (09:55 -0600)
commit9ee7ef31b5a07cdca88cae023c613e045af935b9
treea428b1961db9a51ed2b5c3570a7f7225a179772f
parente7aa450fe17890e59db7d3c2d8eff5b6b41fc531
ASoC: dapm: Introduce DAPM_DOUBLE dual channel control type

A DAPM_DOUBLE control type can be used for dual channel mixer input
selectors / mute controls in one register, 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