ALSA: hda - Fix auto-parse of SPDIF input of Realtek codecs
authorTakashi Iwai <tiwai@suse.de>
Fri, 24 Sep 2010 07:09:42 +0000 (09:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 Sep 2010 07:09:42 +0000 (09:09 +0200)
commit01fdf1801e349302fce5d9865470a7100a2d9b74
treeb4de9b15d4bea72d320bbab18838e94bb2c0982b
parent0f9f1ee9d1412d45a22bfd69dfd4d4324b506e9e
ALSA: hda - Fix auto-parse of SPDIF input of Realtek codecs

The SPDIF in audio widget must be searched through the list as the widget
that contains the given pin as the connection source.  The current code
was implemented in a reverse way.

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