camera: delete some invalidate message which notice io init failed
authorddl <ddl@rock-chips.com>
Wed, 14 Nov 2012 08:19:26 +0000 (16:19 +0800)
committerddl <ddl@rock-chips.com>
Wed, 14 Nov 2012 08:23:08 +0000 (16:23 +0800)
arch/arm/plat-rk/rk_camera.c

index e747b829564e0b3adaf29b941731e8c5c7ad8949..0fbdd93267716eb1d554afe4ad76500bc74d316d 100755 (executable)
@@ -1060,11 +1060,7 @@ static int rk_sensor_io_init(void)
                 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
-                }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
-                               }\r
+                }\r
             }\r
 \r
             if (rk_camera_platform_data.iomux(camera_reset) < 0) {\r
@@ -1091,10 +1087,7 @@ static int rk_sensor_io_init(void)
                 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
-                }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
-                               }\r
+                }\r
             }\r
 \r
             if (rk_camera_platform_data.iomux(camera_powerdown) < 0) {\r
@@ -1121,9 +1114,7 @@ static int rk_sensor_io_init(void)
                 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
-                }else{\r
-                printk("%s..%s..flash pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_flash);\r
-                               }\r
+                }\r
             }\r
 \r
             if (rk_camera_platform_data.iomux(camera_flash) < 0) {\r