thinkpad-acpi: don't fail to load the entire module due to ALSA problems
commit8f5881b3fdc683e5b091d90873c9f95cc2ad9c2c
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 27 Dec 2009 19:06:24 +0000 (27 17:06 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 20 Feb 2010 22:03:55 +0000 (20 20:03 -0200)
tree8febfbdf1eb3a68b534d75aa553d8268a36703dd
parent151e84ac9ce4b7c397c05de89cdc866bb06053ed
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