diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-06-18 20:41:28 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-29 07:13:32 (GMT) |
commit | 8a720718b37d00cf8ab311902705ae7c7890bb95 (patch) | |
tree | 7a5a4378432af0ee9d970114fb29e9d3e5ed5c6b /sound/soc/samsung | |
parent | adf643aba8ed620f8c8e2533f4ace3a90e5daecf (diff) | |
download | linux-fsl-qoriq-8a720718b37d00cf8ab311902705ae7c7890bb95.tar.xz |
ASoC: dapm: Fix snd_soc_dapm_put_volsw() connect
snd_soc_dapm_put_volsw() sets connect incorrectly in the case max > 1 with
invert. In that case, the raw disconnect value should be max, which corresponds
to the userspace value 0.
This use case currently does not appear upstream, but it could break
SOC_DAPM_SINGLE() or SOC_DAPM_SINGLE_TLV() elsewhere or in the future.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung')
0 files changed, 0 insertions, 0 deletions