[openfirmware] [commit] r3512 - dev/olpc/mmp2camera

repository service svn at openfirmware.info
Sun Jan 6 04:39:46 CET 2013


Author: wmb
Date: Sun Jan  6 04:39:45 2013
New Revision: 3512
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3512

Log:
OLPC camera driver - trac #12436 - turn off camera power domain in open method if sensor not found; fixes failure to suspend.

Modified:
   dev/olpc/mmp2camera/ccic.fth

Modified: dev/olpc/mmp2camera/ccic.fth
==============================================================================
--- dev/olpc/mmp2camera/ccic.fth	Fri Jan  4 05:56:56 2013	(r3511)
+++ dev/olpc/mmp2camera/ccic.fth	Sun Jan  6 04:39:45 2013	(r3512)
@@ -142,7 +142,7 @@
 : open  ( -- flag )
    my-address my-space  h# 1000  " map-in" $call-parent  to camera-base
    power-on
-   sensor-found?  0=  if  false exit  then
+   sensor-found?  0=  if  power-off false exit  then
    my-args " yuv" $=  to use-ycrcb?
    alloc-dma-bufs
    read-setup



More information about the openfirmware mailing list