]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Simplify alc_auto_is_dac_reachable()
authorTakashi Iwai <tiwai@suse.de>
Wed, 5 Dec 2012 13:08:45 +0000 (14:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jan 2013 09:34:26 +0000 (10:34 +0100)
commitefccac974d62e710bde01b0e41225a0ed2cf210a
tree0ffcff11c000577e08d269d4c9430f24b10d90e5
parent97568b21604ecebd06bd01b37d79c47e9dc17a49
ALSA: hda/realtek - Simplify alc_auto_is_dac_reachable()

Use the helper function snd_hda_get_conn_index() instead of open
codes.  This also improves the detection of some routes to DAC on
ALC260 (although the difference doesn't influence on the end
results of the mapping).

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