summaryrefslogtreecommitdiffstats
path: root/block/blk-sysfs.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-02-16 16:45:59 +0100
committerTakashi Iwai <tiwai@suse.de>2012-02-16 18:08:39 +0100
commit1c4a54b4513c175ba1a56d0aba8d9cf8f231d407 (patch)
treed381d723e9237955fe8b016fac5e44c508cd0514 /block/blk-sysfs.c
parent140547ef4ee9ad5f9ee9e6546f6027e8737c4149 (diff)
downloadop-kernel-dev-1c4a54b4513c175ba1a56d0aba8d9cf8f231d407.zip
op-kernel-dev-1c4a54b4513c175ba1a56d0aba8d9cf8f231d407.tar.gz
ALSA: hda/realtek - Finer tuning of auto-parser with badness evaluation
This patch improves the Realtek auto-parser for assigning the DACs and mixers in more suitable ways by evaluating the assignment with "badness" calculations. When assigning a DAC hinders the assignment of individual DACs for other pins, some badness point is given. Similarly, when it blocks the assignment of unique mixer controls, another badness point is added. Also, if no DAC, even shared DAC, can be assigned, more badness is pointed. Finally, comparing the accumulated badness, the best route is chosen among several trials. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud