mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
0d29af67f2
commit
6cf06ec6b1
1 changed files with 7 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue