ASoC: dapm: Fix value setting for _ENUM_DOUBLE MUX's second channel
authorChen-Yu Tsai <wens@csie.org>
Sat, 27 Aug 2016 11:27:59 +0000 (19:27 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 1 Sep 2016 20:05:24 +0000 (21:05 +0100)
commit071133a209354f39d4e5785d5a6a390e03241841
tree42ef335b3003d03700aa28cb4ed52905dce2f27a
parent01ad5e7de67b408d9b48b437b06a9938ddf460b5
ASoC: dapm: Fix value setting for _ENUM_DOUBLE MUX's second channel

The value for the second channel in _ENUM_DOUBLE (double channel) MUXs
is not correctly updated, due to using the wrong bit shift.

Use the correct bit shift, so both channels toggle together.

Fixes: 3727b4968453 (ASoC: dapm: Consolidate MUXs and value MUXs)
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c