]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ASoC: Fix mono controls after conversion to support full int masks
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 Oct 2008 12:37:08 +0000 (12:37 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Oct 2008 13:24:41 +0000 (14:24 +0100)
commit92d913c1ed78c37602178971364c59d28be16107
tree47298a6a90cd268e57469b55aec0d8cb8d6ad675
parent10ae321c48c80f4ba96feedf416ae9662cc1015b
ALSA: ASoC: Fix mono controls after conversion to support full int masks

When ASoC was converted to support full int width masks SOC_SINGLE_VALUE()
omitted the assignment of rshift, causing the control operatins to report
some mono controls as stereo. This happened to work some of the time due
to a confusion between shift and min in snd_soc_info_volsw().

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/soc.h
sound/soc/soc-core.c