diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-02-13 08:17:32 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-02-13 08:17:32 -0500 |
commit | 1d739066a034c163ece55dd522e8b5659e1aa1a7 (patch) | |
tree | 1e4d670f7c64f66a29caf43f3482eab4035bceab /sound | |
parent | ea9b43addc4d90ca5b029f47f85ca152320a1e8d (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 6af5aded1ed5..78897d05d80f 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c | |||
@@ -988,7 +988,7 @@ enum { | |||
988 | /* No DAC is found for the extra output */ | 988 | /* No DAC is found for the extra output */ |
989 | BAD_NO_DAC = 0x4000, | 989 | BAD_NO_DAC = 0x4000, |
990 | /* No possible multi-ios */ | 990 | /* No possible multi-ios */ |
991 | BAD_MULTI_IO = 0x103, | 991 | BAD_MULTI_IO = 0x120, |
992 | /* No individual DAC for extra output */ | 992 | /* No individual DAC for extra output */ |
993 | BAD_NO_EXTRA_DAC = 0x102, | 993 | BAD_NO_EXTRA_DAC = 0x102, |
994 | /* No individual DAC for extra surrounds */ | 994 | /* No individual DAC for extra surrounds */ |