Add patch for AD198x.

Submitted by: Oleg Sharoiko, Rudolf Cejka.
This commit is contained in:
orion 2003-08-21 15:44:55 +00:00
parent 9a58216d84
commit 9826d71be0
2 changed files with 7 additions and 0 deletions

View File

@ -40,3 +40,9 @@ void ad1886_patch(struct ac97_info* codec)
*/
ac97_wrcd(codec, AC97_AD_JACK_SPDIF, 0x0010);
}
void ad198x_patch(struct ac97_info* codec)
{
ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420);
}

View File

@ -28,3 +28,4 @@
typedef void (*ac97_patch)(struct ac97_info*);
void ad1886_patch(struct ac97_info*);
void ad198x_patch(struct ac97_info*);