Fix no-sound issues with ASUS A9T notebook.

Note: The offending quirk should have been made model/codec specific,
but since there were no records / log which model requires it, the quirk
logic had to be inverted (blacklist instead of whitelist).

Tested by:	Arkadiy Dudevitch <dudevitch@englerllc.com>
Approved by:	re (hrs)
MFC after:	3 days
This commit is contained in:
Ariff Abdullah 2007-07-01 17:28:58 +00:00
parent 0d29af67f2
commit 6cf06ec6b1

View File

@ -44,7 +44,13 @@ void ad1886_patch(struct ac97_info* codec)
void ad198x_patch(struct ac97_info* codec)
{
ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420);
switch (ac97_getsubvendor(codec)) {
case 0x11931043: /* Not for ASUS A9T (probably else too). */
break;
default:
ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420);
break;
}
}
void ad1981b_patch(struct ac97_info* codec)