mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
board-rk29-fih.c : forbid to flash while powering on
This commit is contained in:
@@ -1274,8 +1274,8 @@ static int rk29_sensor_io_init(void)
|
||||
goto sensor_io_int_loop_end;
|
||||
rk29_camera_platform_data.gpio_res[i].gpio_init |= RK29_CAM_FLASHACTIVE_MASK;
|
||||
/*lzg@rock-chips.com; to forbid to flash while powing on ;*/
|
||||
// gpio_set_value(camera_flash, ((camera_ioflag&RK29_CAM_FLASHACTIVE_MASK)>>RK29_CAM_FLASHACTIVE_BITPOS));
|
||||
// gpio_direction_output(camera_flash, ((camera_ioflag&RK29_CAM_FLASHACTIVE_MASK)>>RK29_CAM_FLASHACTIVE_BITPOS));
|
||||
// gpio_set_value(camera_flash, ((camera_ioflag&RK29_CAM_FLASHACTIVE_MASK)>>RK29_CAM_FLASHACTIVE_BITPOS));
|
||||
// gpio_direction_output(camera_flash, ((camera_ioflag&RK29_CAM_FLASHACTIVE_MASK)>>RK29_CAM_FLASHACTIVE_BITPOS));
|
||||
|
||||
//printk("\n%s....flash pin(%d) init success(0x%x) \n",__FUNCTION__,camera_flash,((camera_ioflag&RK29_CAM_FLASHACTIVE_MASK)>>RK29_CAM_FLASHACTIVE_BITPOS));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user