camera:fix camera power down pin and flash pin macro define error
authorddl <ddl@rockchip.com>
Wed, 2 Mar 2011 09:41:05 +0000 (17:41 +0800)
committerddl <ddl@rockchip.com>
Wed, 2 Mar 2011 09:41:42 +0000 (17:41 +0800)
arch/arm/mach-rk29/include/mach/rk29_camera.h

index 0bab31ce8db299c91f1d3706440827a94af7c83f..bfb9560587ab5e520c422efa6702c851aaf74eb7 100644 (file)
 #define RK29_CAM_RESETACTIVE_H (0x01<<RK29_CAM_RESETACTIVE_BITPOS)
 #define RK29_CAM_RESETACTIVE_L  (0x00<<RK29_CAM_RESETACTIVE_BITPOS)
 
-#define RK29_CAM_POWERDNACTIVE_BITPOS  0x00
+#define RK29_CAM_POWERDNACTIVE_BITPOS  0x02
 #define RK29_CAM_POWERDNACTIVE_MASK    (1<<RK29_CAM_POWERDNACTIVE_BITPOS)
 #define RK29_CAM_POWERDNACTIVE_H       (0x01<<RK29_CAM_POWERDNACTIVE_BITPOS)
 #define RK29_CAM_POWERDNACTIVE_L       (0x00<<RK29_CAM_POWERDNACTIVE_BITPOS)
 
-#define RK29_CAM_FLASHACTIVE_BITPOS    0x01
+#define RK29_CAM_FLASHACTIVE_BITPOS    0x03
 #define RK29_CAM_FLASHACTIVE_MASK      (1<<RK29_CAM_FLASHACTIVE_BITPOS)
 #define RK29_CAM_FLASHACTIVE_H (0x01<<RK29_CAM_FLASHACTIVE_BITPOS)
 #define RK29_CAM_FLASHACTIVE_L  (0x00<<RK29_CAM_FLASHACTIVE_BITPOS)