thinkpad-acpi: support MUTE-only ThinkPads
commit7660c6fe32f438b69049113592706eb61d65032e
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 13 Dec 2009 19:29:14 +0000 (13 17:29 -0200)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 13 Dec 2009 19:29:14 +0000 (13 17:29 -0200)
treebafedf6b334d9438dbc2b36077fc4a0356deca79
parent1bd2a6ddf50820f01165cda63c2ca2bc4f99c882
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