From: ddl Date: Wed, 14 Nov 2012 08:19:26 +0000 (+0800) Subject: camera: delete some invalidate message which notice io init failed X-Git-Tag: firefly_0821_release~8221 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=042f8d0e9a1b8073a3694b31fd248cc6ad5ddf4d;p=firefly-linux-kernel-4.4.55.git camera: delete some invalidate message which notice io init failed --- diff --git a/arch/arm/plat-rk/rk_camera.c b/arch/arm/plat-rk/rk_camera.c index e747b829564e..0fbdd9326771 100755 --- a/arch/arm/plat-rk/rk_camera.c +++ b/arch/arm/plat-rk/rk_camera.c @@ -1060,11 +1060,7 @@ static int rk_sensor_io_init(void) if (i==j) { printk(KERN_ERR"rk_cam_io: %s..%s..reset pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_reset); goto sensor_io_init_erro; - }else{ - - printk("%s..%s..reset pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_reset); - //goto sensor_io_init_erro; - } + } } if (rk_camera_platform_data.iomux(camera_reset) < 0) { @@ -1091,10 +1087,7 @@ static int rk_sensor_io_init(void) if (i==j) { printk(KERN_ERR"rk_cam_io: %s..%s..powerdown pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_powerdown); goto sensor_io_init_erro; - }else{ - printk("%s..%s..powerdown pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_powerdown); - //goto sensor_io_init_erro; - } + } } if (rk_camera_platform_data.iomux(camera_powerdown) < 0) { @@ -1121,9 +1114,7 @@ static int rk_sensor_io_init(void) if (i==j) { printk(KERN_ERR"rk_cam_io: %s..%s..flash pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_flash); goto sensor_io_init_erro; - }else{ - printk("%s..%s..flash pin(%d) init failed\n",__FUNCTION__,plat_data->gpio_res[i].dev_name,camera_flash); - } + } } if (rk_camera_platform_data.iomux(camera_flash) < 0) {