summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2010-02-27 18:45:29 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-15 09:06:21 -0700
commitd707522d421d10bb56c5054812eb1f53a39a5c08 (patch)
treeba7197c1602bffd9136fc93d3a3e2c60d7fc72e3 /sound
parentf4d574122bc35f8c90effac2e3a2af2889e9ba81 (diff)
downloadlwn-d707522d421d10bb56c5054812eb1f53a39a5c08.tar.gz
lwn-d707522d421d10bb56c5054812eb1f53a39a5c08.zip
thinkpad-acpi: fix ALSA callback return status
commit 88cc83772a3c7756b9f2b4ba835545ad90a08409 upstream. Clemens Ladisch reports that thinkpad-acpi improperly implements the ALSA API, and always returns 0 for success for the "put" callbacks while the API requires it to return "1" when the control value has been changed in the hardware/firmware. Rework the volume subdriver to be able to properly implement the ALSA API. Based on a patch by Clemens Ladisch <clemens@ladisch.de>. This fix is also needed on 2.6.33. Reported-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions