From: zyc Date: Thu, 3 Apr 2014 07:36:47 +0000 (+0800) Subject: isp driver:fix dead while in camsys_i2c_write and camsys_i2c_read X-Git-Tag: firefly_0821_release~5625 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2f5f26b956aa31f3e70d32b8c30138e34865cb0e;p=firefly-linux-kernel-4.4.55.git isp driver:fix dead while in camsys_i2c_write and camsys_i2c_read --- diff --git a/drivers/media/video/rk_camsys/camsys_drv.c b/drivers/media/video/rk_camsys/camsys_drv.c index e662c080f943..81fa87ce18c5 100755 --- a/drivers/media/video/rk_camsys/camsys_drv.c +++ b/drivers/media/video/rk_camsys/camsys_drv.c @@ -80,6 +80,7 @@ static int camsys_i2c_write(camsys_i2c_info_t *i2cinfo, camsys_dev_t *camsys_dev } end: +#if 0 #if ((defined CONFIG_ARCH_RK319X) || (CONFIG_ARCH_ROCKCHIP)) if (!list_empty(&camsys_dev->extdevs.active)) { list_for_each_entry(extdev, &camsys_dev->extdevs.active, active) { @@ -92,6 +93,7 @@ end: } } #endif +#endif return err; } @@ -149,6 +151,7 @@ static int camsys_i2c_read(camsys_i2c_info_t *i2cinfo, camsys_dev_t *camsys_dev) } end: +#if 0 #if ((defined CONFIG_ARCH_RK319X) || (CONFIG_ARCH_ROCKCHIP)) if (!list_empty(&camsys_dev->extdevs.active)) { list_for_each_entry(extdev, &camsys_dev->extdevs.active, active) { @@ -161,6 +164,7 @@ end: } } #endif +#endif return err; }