From 0564b69557cccdfc2473dae1c1db0b8c21ad2d4b Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Wed, 6 Jul 2016 16:01:46 +0800 Subject: [PATCH] media: rockchip-vpu: remove force aclk_vcodec 400M 3036's vpu is not stable with 400M. Change-Id: I5ea988704fd4d82154319cc0b3376aad10d9373b Signed-off-by: Jeffy Chen --- drivers/media/platform/rockchip-vpu/rockchip_vpu_hw.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/media/platform/rockchip-vpu/rockchip_vpu_hw.c b/drivers/media/platform/rockchip-vpu/rockchip_vpu_hw.c index 769cfbb958e5..d990e09c8246 100644 --- a/drivers/media/platform/rockchip-vpu/rockchip_vpu_hw.c +++ b/drivers/media/platform/rockchip-vpu/rockchip_vpu_hw.c @@ -230,13 +230,6 @@ int rockchip_vpu_hw_probe(struct rockchip_vpu_dev *vpu) return PTR_ERR(vpu->hclk); } - /* - * Bump ACLK to max. possible freq. (400 MHz) to improve performance. - * - * VP8 encoding 1280x720@1.2Mbps 200 MHz: 39 fps, 400: MHz 77 fps - */ - clk_set_rate(vpu->aclk, 400*1000*1000); - res = platform_get_resource(vpu->pdev, IORESOURCE_MEM, 0); vpu->base = devm_ioremap_resource(vpu->dev, res); if (IS_ERR(vpu->base)) -- 2.34.1