Encouraged by the quick and helpful feedback from both Takashi and Henrique (thanks!), I went to work with v2 of the patch.
Changes since v1:
- thinkpad-acpi patch: rewritten to follow Takashi's ideas - thinkpad-acpi patch: added documentation update - alsa side: added a separate patch for the new fixup action - alsa side: rewrote patch a little, mostly based on comments from Takashi
David Henningsson (3): thinkpad-acpi: Add mute and mic-mute LED functionality ALSA: hda - add HDA_FIXUP_ACT_FREE action ALSA: hda - add connection to thinkpad_acpi to control mute/micmute LEDs
Documentation/laptops/thinkpad-acpi.txt | 7 ++- drivers/platform/x86/thinkpad_acpi.c | 92 ++++++++++++++++++++++++++++++- include/linux/thinkpad_acpi.h | 15 +++++ sound/pci/hda/hda_local.h | 1 + sound/pci/hda/patch_conexant.c | 92 ++++++++++++++++++++++++++++++- 5 files changed, 202 insertions(+), 5 deletions(-) create mode 100644 include/linux/thinkpad_acpi.h