ALSA: hda - Allow codec drivers to give own badness tables
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Mar 2013 13:53:50 +0000 (14:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Mar 2013 13:53:50 +0000 (14:53 +0100)
commit98bd11152b5b8725b26d803dfdf205dc989d9832
tree205b5de14c187db4695e2c71ed19117b6173bb88
parent10d7410790afd0d8bbe0bce72d82ccc7474df4ff
ALSA: hda - Allow codec drivers to give own badness tables

The standard badness values don't seem to fit to all preferences.
Some configuration prefer the side output over the headphone, some
want the speaker over the surround, etc.

This patch moves the badness table pointers into hda_gen_spec, so that
the codec driver can override them.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.h