isp driver:fix dead while in camsys_i2c_write and camsys_i2c_read
authorzyc <zyc@rock-chips.com>
Thu, 3 Apr 2014 07:36:47 +0000 (15:36 +0800)
committerzyc <zyc@rock-chips.com>
Thu, 3 Apr 2014 07:36:47 +0000 (15:36 +0800)
drivers/media/video/rk_camsys/camsys_drv.c

index e662c080f943305e60efabcdf260feb669e7ef7d..81fa87ce18c572cf8d61df057ff22ea2c33693a3 100755 (executable)
@@ -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;
 }