Update of /cvsroot/alsa/alsa-kernel/isa In directory sc8-pr-cvs1:/tmp/cvs-serv13864/isa
Modified Files: opl3sa2.c Log Message: fixed the order of function calls in suspend. Index: opl3sa2.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/isa/opl3sa2.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- opl3sa2.c 9 May 2003 14:07:23 -0000 1.26 +++ opl3sa2.c 8 Jul 2003 10:41:34 -0000 1.27 @@ -552,9 +552,8 @@ if (card->power_state == SNDRV_CTL_POWER_D3hot) return; - /* FIXME: is this order ok? */ + snd_pcm_suspend_all(chip->cs4231->pcm); /* stop before saving regs */ chip->cs4231_suspend(chip->cs4231); - snd_pcm_suspend_all(chip->cs4231->pcm); /* power down */ snd_opl3sa2_write(chip, OPL3SA2_PM_CTRL, OPL3SA2_PM_D3); ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog