if (i==j) {\r
printk(KERN_ERR"rk_cam_io: %s..%s..reset pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_reset);\r
goto sensor_io_init_erro;\r
- }\r
+ }else{\r
\r
printk("%s..%s..reset pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_reset);\r
- goto sensor_io_init_erro;\r
+ //goto sensor_io_init_erro;\r
+ }\r
}\r
\r
if (rk_camera_platform_data.iomux(camera_reset) < 0) {\r
if (i==j) {\r
printk(KERN_ERR"rk_cam_io: %s..%s..powerdown pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_powerdown);\r
goto sensor_io_init_erro;\r
- }\r
+ }else{\r
printk("%s..%s..powerdown pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_powerdown);\r
- goto sensor_io_init_erro;\r
+ //goto sensor_io_init_erro;\r
+ }\r
}\r
\r
if (rk_camera_platform_data.iomux(camera_powerdown) < 0) {\r
if (i==j) {\r
printk(KERN_ERR"rk_cam_io: %s..%s..flash pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_flash);\r
goto sensor_io_init_erro;\r
- }\r
+ }else{\r
printk("%s..%s..flash pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_flash);\r
- goto sensor_io_init_erro;\r
+ }\r
}\r
\r
if (rk_camera_platform_data.iomux(camera_flash) < 0) {\r