]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Increase badness for missing multi-io
authorTakashi Iwai <tiwai@suse.de>
Wed, 13 Feb 2013 13:17:32 +0000 (14:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Feb 2013 13:17:32 +0000 (14:17 +0100)
commitbcc69f54ee29f2c849919cac7ee5d25f41bc3212
tree1e4d670f7c64f66a29caf43f3482eab4035bceab
parent4a249a9a824b2163d37cb89ee0290d6c58757def
ALSA: hda - Increase badness for missing multi-io

The current badness value used for the missing multi-io seems too
weak, and the multi-io tends to be skipped for desktop configurations
when no enough DACs are available.  It's because the total badness of
the multi-io becomes often larger than the badness with assigning an
individual DAC to a headphone jack.  This is good for one side, but it
seems that the surround outputs are more demanded by that.

This patch increases the badness value for the missing multi-io
slightly so that the multi-io would be preferred than the individual
headphone DAC if they conflict.  Through the tests with hda-emu,
mostly only desktop configurations with ALC662/663 and CMI codecs are
affected by this change, and all look reasonable.

Reported-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c