/[openvortex]/alsa/alsa-kernel/isa/opl3sa2.c
ViewVC logotype

Diff of /alsa/alsa-kernel/isa/opl3sa2.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:11 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:39 2003 UTC
# Line 552  static void snd_opl3sa2_suspend(opl3sa2_ Line 552  static void snd_opl3sa2_suspend(opl3sa2_
552          if (card->power_state == SNDRV_CTL_POWER_D3hot)          if (card->power_state == SNDRV_CTL_POWER_D3hot)
553                  return;                  return;
554    
555          /* FIXME: is this order ok? */          snd_pcm_suspend_all(chip->cs4231->pcm); /* stop before saving regs */
556          chip->cs4231_suspend(chip->cs4231);          chip->cs4231_suspend(chip->cs4231);
         snd_pcm_suspend_all(chip->cs4231->pcm);  
557    
558          /* power down */          /* power down */
559          snd_opl3sa2_write(chip, OPL3SA2_PM_CTRL, OPL3SA2_PM_D3);          snd_opl3sa2_write(chip, OPL3SA2_PM_CTRL, OPL3SA2_PM_D3);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26