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)
commit762b8df748d83c14070afbf0c6f8c0f4a91a13bf
tree47298a6a90cd268e57469b55aec0d8cb8d6ad675
parentc3e5203bed1999df716e3c7119f6749523eb952f
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