projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6f138
)
isp driver:fix dead while in camsys_i2c_write and camsys_i2c_read
author
zyc
<zyc@rock-chips.com>
Thu, 3 Apr 2014 07:36:47 +0000
(15:36 +0800)
committer
zyc
<zyc@rock-chips.com>
Thu, 3 Apr 2014 07:36:47 +0000
(15:36 +0800)
drivers/media/video/rk_camsys/camsys_drv.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/rk_camsys/camsys_drv.c
b/drivers/media/video/rk_camsys/camsys_drv.c
index e662c080f943305e60efabcdf260feb669e7ef7d..81fa87ce18c572cf8d61df057ff22ea2c33693a3 100755
(executable)
--- 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;
}