Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28547
b: refs/heads/master
c: 1561f09
h: refs/heads/master
i:
  28545: 45c7bc9
  28543: 027412a
v: v3
  • Loading branch information
Jaya Kumar authored and Jaroslav Kysela committed Jun 22, 2006
1 parent af8e701 commit 3b59dd9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1459c7849ea24fd71e4d2e678caa1cc3fef754e2
refs/heads/master: 1561f09a2f91bc258a72225f919807c9e51c8290
9 changes: 8 additions & 1 deletion trunk/sound/pci/ac97/ac97_patch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,13 @@ static void ad18xx_resume(struct snd_ac97 *ac97)

snd_ac97_restore_iec958(ac97);
}

static void ad1888_resume(struct snd_ac97 *ac97)
{
ad18xx_resume(ac97);
snd_ac97_write_cache(ac97, AC97_CODEC_CLASS_REV, 0x8080);
}

#endif

int patch_ad1819(struct snd_ac97 * ac97)
Expand Down Expand Up @@ -1844,7 +1851,7 @@ static struct snd_ac97_build_ops patch_ad1888_build_ops = {
.build_post_spdif = patch_ad198x_post_spdif,
.build_specific = patch_ad1888_specific,
#ifdef CONFIG_PM
.resume = ad18xx_resume,
.resume = ad1888_resume,
#endif
.update_jacks = ad1888_update_jacks,
};
Expand Down

0 comments on commit 3b59dd9

Please sign in to comment.