thinkpad-acpi: don't fail to load the entire module due to ALSA problems
commit15ee99078545b5cc47485a4a987d49f37469480b
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 27 May 2011 01:50:50 +0000 (26 22:50 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 27 May 2011 01:50:50 +0000 (26 22:50 -0300)
tree268046e6d75859186e68edb17f0f772964225170
parentbcc130cf9107d312dbb97e9ac60a9c6d861aaa3d
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