]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thinkpad-acpi: don't fail to load the entire module due to ALSA problems
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 27 Dec 2009 00:52:14 +0000 (22:52 -0200)
committerLen Brown <len.brown@intel.com>
Sun, 27 Dec 2009 03:37:20 +0000 (22:37 -0500)
commit74c75c1848b618f6717c1be887ad539ffac2e96d
tree743bed97884b102b30a41612c960502eecda9e27
parentead510cebcdf41c92fce2a909f342255b028a33d
thinkpad-acpi: don't fail to load the entire module due to ALSA problems

If we cannot create the ALSA mixer, it is a good reason to fail to
load the volume subdriver, and not to fail to load the entire module.

While at it, add more debugging messages, as the error paths are being
used a lot more than I'd expect, and it is failing to set up the ALSA
mixer on a number of ThinkPads.

Reported-by: Peter Jordan <usernetwork@gmx.info>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/thinkpad_acpi.c