ALSA: hda - Fix subsystem ID read regression
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 1 Apr 2015 10:43:00 +0000 (12:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 4 Apr 2015 10:14:00 +0000 (12:14 +0200)
commitffda568e8b4979c6a04bbdd92acfd93b5dc5e163
treecc347e669ec761e23635a731ba614344d473a0c1
parent4738465c37298cd9228750f7e16aad88af8495c5
ALSA: hda - Fix subsystem ID read regression

A regression was introduced in 7639a06c23c7d4cda3: if AC_PAR_SUBSYSTEM_ID
reads as zero, one should retry using AC_VERB_GET_SUBSYSTEM_ID.

This seems to hit many codecs (my own laptop included), and causes
quirks for some machines not to apply correctly.

Reported-by: TienFu Chen <tienfu.chen@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_device.c