summaryrefslogtreecommitdiffstats
path: root/include/sound/wm2200.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-11-22 18:29:18 +0100
committerMark Brown <broonie@linaro.org>2013-11-24 14:55:41 +0100
commitfaf6615bf05bc5cecc6e22013b9cb21c77784fd1 (patch)
treeb119fc7587507a5a7be2efe4ebfa6105877e39ed /include/sound/wm2200.h
parentLinux 3.13-rc1 (diff)
downloadlinux-faf6615bf05bc5cecc6e22013b9cb21c77784fd1.tar.xz
linux-faf6615bf05bc5cecc6e22013b9cb21c77784fd1.zip
ASoC: dapm: Use SND_SOC_DAPM_INIT_REG_VAL in SND_SOC_DAPM_MUX
SND_SOC_DAPM_MUX() doesn't currently initialize the .mask field. This results in the mux never affecting HW, since no bits are ever set or cleared. Fix SND_SOC_DAPM_MUX() to use SND_SOC_DAPM_INIT_REG_VAL() to set up the reg, shift, on_val, and off_val fields like almost all other SND_SOC_xxx() macros. It looks like this was a "typo" in the fixed commit linked below. This makes the speakers on the Toshiba AC100 (PAZ00) laptop work again. Fixes: de9ba98b6d26 ("ASoC: dapm: Make widget power register settings more flexible") Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: <stable@vger.kernel.org> # v3.12+
Diffstat (limited to 'include/sound/wm2200.h')
0 files changed, 0 insertions, 0 deletions