Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16045
b: refs/heads/master
c: e26e754
h: refs/heads/master
i:
  16043: cc500ce
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 3, 2006
1 parent 330e751 commit 82c2ea5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 603bf524aa4cba95e4fcd64dbfffc41f804c65ab
refs/heads/master: e26e7545e9542425f140cb4c605a7ab5a3b13e00
5 changes: 5 additions & 0 deletions trunk/sound/pci/ac97/ac97_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -2186,6 +2186,8 @@ static void snd_ac97_powerdown(struct snd_ac97 *ac97)
*/
void snd_ac97_suspend(struct snd_ac97 *ac97)
{
if (! ac97)
return;
if (ac97->build_ops->suspend)
ac97->build_ops->suspend(ac97);
snd_ac97_powerdown(ac97);
Expand Down Expand Up @@ -2242,6 +2244,9 @@ void snd_ac97_resume(struct snd_ac97 *ac97)
{
unsigned long end_time;

if (! ac97)
return;

if (ac97->bus->ops->reset) {
ac97->bus->ops->reset(ac97);
goto __reset_ready;
Expand Down

0 comments on commit 82c2ea5

Please sign in to comment.