From: dalong.zhang Date: Thu, 10 Nov 2016 09:12:39 +0000 (+0800) Subject: camera: rockchip: camsys_drv v0.0x21.7 X-Git-Tag: firefly_0821_release~1185 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8dee8257322e7eaa69e3cad1ec01bec3894ed8f1;p=firefly-linux-kernel-4.4.55.git camera: rockchip: camsys_drv v0.0x21.7 Change-Id: Id8d254f74b3eeb251d7369dc866f32f026d606df Signed-off-by: dalong.zhang --- diff --git a/drivers/media/video/rk_camsys/camsys_internal.h b/drivers/media/video/rk_camsys/camsys_internal.h index 13cf1a2b68d6..d766990b1505 100644 --- a/drivers/media/video/rk_camsys/camsys_internal.h +++ b/drivers/media/video/rk_camsys/camsys_internal.h @@ -142,8 +142,10 @@ 1) modify for mipiphy hsfreqrange. *v0.0x21.6: 1) support drm iommu. +*v0.0x21.7: +* 1) remove memset function wrong called code. */ -#define CAMSYS_DRIVER_VERSION KERNEL_VERSION(0, 0x21, 6) +#define CAMSYS_DRIVER_VERSION KERNEL_VERSION(0, 0x21, 7) #define CAMSYS_PLATFORM_DRV_NAME "RockChip-CamSys" #define CAMSYS_PLATFORM_MARVIN_NAME "Platform_MarvinDev" diff --git a/drivers/media/video/rk_camsys/camsys_mipicsi_phy.c b/drivers/media/video/rk_camsys/camsys_mipicsi_phy.c index a19b5c4fba15..f946641d721b 100755 --- a/drivers/media/video/rk_camsys/camsys_mipicsi_phy.c +++ b/drivers/media/video/rk_camsys/camsys_mipicsi_phy.c @@ -171,7 +171,6 @@ struct platform_device *pdev, camsys_dev_t *camsys_dev) } } - memset(str, sizeof(str), 0x00); sprintf(str, "hclk_mipiphy%d", i); clk = devm_clk_get(&pdev->dev, str);