ALSA: hda - Split quirk codes from patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Jul 2011 16:23:21 +0000 (18:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Jul 2011 16:27:29 +0000 (18:27 +0200)
commit1d045db96ad9b8f4d876d5945ab097425252e4ab
treeb7479a54398cec0a3fc72b357790a986e38990cb
parent0e4a73ae5893d61ae10a9f219e2f3371e44589a8
ALSA: hda - Split quirk codes from patch_realtek.c

Put the all static quirk codes out of patch_realtek.c, split into the
file for each codec model.  For controlling the build of quirk codes,
a new Kconfig, CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS is introduced.
By setting this off, all quirk codes won't be built, thus you can save
lots of memory.

The codes in patch_realtek.c are also shuffled and more comments are
given, but the contents aren't changed.  This is just a refactoring.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
13 files changed:
sound/pci/hda/Kconfig
sound/pci/hda/alc260_quirks.c [new file with mode: 0644]
sound/pci/hda/alc262_quirks.c [new file with mode: 0644]
sound/pci/hda/alc268_quirks.c [new file with mode: 0644]
sound/pci/hda/alc269_quirks.c [new file with mode: 0644]
sound/pci/hda/alc662_quirks.c [new file with mode: 0644]
sound/pci/hda/alc680_quirks.c [new file with mode: 0644]
sound/pci/hda/alc861_quirks.c [new file with mode: 0644]
sound/pci/hda/alc861vd_quirks.c [new file with mode: 0644]
sound/pci/hda/alc880_quirks.c [new file with mode: 0644]
sound/pci/hda/alc882_quirks.c [new file with mode: 0644]
sound/pci/hda/alc_quirks.c [new file with mode: 0644]
sound/pci/hda/patch_realtek.c