camera: rockchip: camsys v0.0x21.0xa
authordalon.zhang <dalon.zhang@rock-chips.com>
Sun, 19 Mar 2017 03:50:59 +0000 (11:50 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 22 Mar 2017 01:48:24 +0000 (09:48 +0800)
Change-Id: Ic9c5661ba76eaf8aee36e1a1822aa9bcd288e0ac
Signed-off-by: dalon.zhang <dalon.zhang@rock-chips.com>
drivers/media/video/rk_camsys/camsys_internal.h
drivers/media/video/rk_camsys/camsys_marvin.c [changed mode: 0755->0644]

index 11efb23..045d01f 100644 (file)
        if process cameraserver was died during streaming, iommu resource
        was not released correctly. when cameraserver was recovered and
        streaming again, iommu resource may be conflicted.
+*v0.0x21.0xa:
+       1) clock clk_vio0_noc would cause mipi lcdc no display on 3368h, remove it.
 */
-#define CAMSYS_DRIVER_VERSION                   KERNEL_VERSION(0, 0x21, 9)
+#define CAMSYS_DRIVER_VERSION                   KERNEL_VERSION(0, 0x21, 0xa)
 
 #define CAMSYS_PLATFORM_DRV_NAME                "RockChip-CamSys"
 #define CAMSYS_PLATFORM_MARVIN_NAME             "Platform_MarvinDev"
old mode 100755 (executable)
new mode 100644 (file)
index e3e236f..d479969
@@ -627,8 +627,6 @@ static int camsys_mrv_clkin_cb(void *ptr, unsigned int on)
                if (CHIP_TYPE == 3368 || CHIP_TYPE == 3366) {
                        clk_prepare_enable(clk->cif_clk_out);
                        clk_prepare_enable(clk->pclk_dphyrx);
-                       if (CHIP_TYPE == 3368)
-                               clk_prepare_enable(clk->clk_vio0_noc);
                } else {
                        clk_prepare_enable(clk->clk_mipi_24m);
                }
@@ -648,8 +646,6 @@ static int camsys_mrv_clkin_cb(void *ptr, unsigned int on)
                if (CHIP_TYPE == 3368 || CHIP_TYPE == 3366) {
                        clk_disable_unprepare(clk->cif_clk_out);
                        clk_disable_unprepare(clk->pclk_dphyrx);
-                       if (CHIP_TYPE == 3368)
-                               clk_disable_unprepare(clk->clk_vio0_noc);
                } else {
                        clk_disable_unprepare(clk->clk_mipi_24m);
                }