thinkpad-acpi: support MUTE-only ThinkPads
commit043b06cd1889cc3aa907c1871caf619721be2f50
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sat, 3 Apr 2010 21:44:40 +0000 (3 18:44 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Tue, 27 Apr 2010 03:52:22 +0000 (27 00:52 -0300)
treeab3d8db0610a2881b1ebc9c8476ddecfc2be0d66
parentb19ca610799cc6574b498ef322b6d5982662f19c
thinkpad-acpi: support MUTE-only ThinkPads

Lenovo removed the extra mixer since the T61 and thereabouts.
Newer Lenovo models only have the mute gate function, and leave
the volume control to the HDA mixer.

Until a way to automatically query the firmware about its audio
control capabilities is discovered (there might not be any), use a
white/black list.

We will likely need to ask T60 (old and new model) and Z60/Z61 users
whether they have volume control to populate the black/white list.
Meanwhile, provide a volume_capabilities parameter that can be used to
override the defaults.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Lorne Applebaum <lorne.applebaum@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Documentation/laptops/thinkpad-acpi.txt
drivers/platform/x86/thinkpad_acpi.c