[openfirmware] r1443 - cpu/x86/pc/olpc/via

svn at openfirmware.info svn at openfirmware.info
Thu Oct 29 00:32:13 CET 2009


Author: wmb
Date: 2009-10-29 00:32:13 +0100 (Thu, 29 Oct 2009)
New Revision: 1443

Modified:
   cpu/x86/pc/olpc/via/suspend.fth
Log:
OLPC trac 9521 - close audio device before suspending to prevent
crashes after resume when someone presses a louder or softer button.


Modified: cpu/x86/pc/olpc/via/suspend.fth
===================================================================
--- cpu/x86/pc/olpc/via/suspend.fth	2009-10-28 23:19:25 UTC (rev 1442)
+++ cpu/x86/pc/olpc/via/suspend.fth	2009-10-28 23:32:13 UTC (rev 1443)
@@ -40,6 +40,7 @@
    again   
 ;
 : s3-suspend
+   audio-ih  if  audio-ih close-dev  0 to audio-ih  then
    " video-save" screen-ih $call-method  \ Freeze display
    s3
    " video-restore" screen-ih $call-method  \ Unfreeze display




More information about the openfirmware mailing list