thinkpad-acpi: don't fail to load the entire module due to ALSA problems
commitda0eabe482f67ce4ab49603a2560d7937337d05b
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 27 Dec 2009 18:56:57 +0000 (27 16:56 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 20 Feb 2010 22:01:42 +0000 (20 20:01 -0200)
tree9d383fa5a4b76e6614b26cfc3d6d78a56ebd9928
parent65c4a45d0668316ee40d8e75a9c1e87ec0451ba8
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>
drivers/platform/x86/thinkpad_acpi.c