thinkpad-acpi: don't fail to load the entire module due to ALSA problems
commitf67f0f23b391119d161b3a6fd0e32bf1e1789402
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 7 Jul 2010 02:07:00 +0000 (6 23:07 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Wed, 7 Jul 2010 02:07:00 +0000 (6 23:07 -0300)
tree854d8cb2217ab5f886777d22b5100fcfbe5887e5
parent7d86639cd6249ce876c81ad031017c93d2afcb8f
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