]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda - Split Thinkpad ACPI-related code
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Jan 2014 10:44:21 +0000 (11:44 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Jan 2014 15:16:51 +0000 (16:16 +0100)
commitb317b032d2dcb5e518cc9630cc6f1c7c24afedfc
tree91c4725440de1d3fad2b8d0cf6c52ef3d863700f
parent43a8e50a46a4e1dd1451e4a4ffa1f7695fb7d287
ALSA: hda - Split Thinkpad ACPI-related code

Both patch_realtek.c and patch_conexant.c contain the fairy same code
snippet for supporting Thinkpad ACPI LED controls.  Split them into
thinkpad_helper.c and include it from both places.  Although this
isn't the best approach from the code size POV, the probability for
coexistence of both Realtek and Conexant codecs on a single machine is
pretty low, thus it'll end up with less memory footprint than
splitting to yet another module.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/thinkpad_helper.c [new file with mode: 0644]