From: Henrique de Moraes Holschuh Date: Sat, 27 Feb 2010 21:45:29 +0000 (-0300) Subject: thinkpad-acpi: fix ALSA callback return status X-Git-Tag: v2.6.34-rc1~221^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88cc83772a3c7756b9f2b4ba835545ad90a08409;p=pandora-kernel.git thinkpad-acpi: fix ALSA callback return status 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 . This fix is also needed on 2.6.33. Reported-by: Clemens Ladisch Signed-off-by: Henrique de Moraes Holschuh Cc: stable@kernel.org --- Reading git-diff-tree failed