thinkpad-acpi: don't fail to load the entire module due to ALSA problems
commite7c2a5ebc61dcc72bc7c6593ed62bfdd7738b19c
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 3 Sep 2011 18:49:21 +0000 (3 15:49 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 13 Nov 2011 17:09:10 +0000 (13 15:09 -0200)
tree76162c2cec24fc484f8f86e5b530636249b160f3
parent880834e345c39f7629036171160554eaf4c43297
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