From: Jeffy Chen Date: Wed, 6 Jul 2016 08:01:46 +0000 (+0800) Subject: media: rockchip-vpu: remove force aclk_vcodec 400M X-Git-Tag: firefly_0821_release~2192 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0564b69557cccdfc2473dae1c1db0b8c21ad2d4b;p=firefly-linux-kernel-4.4.55.git media: rockchip-vpu: remove force aclk_vcodec 400M 3036's vpu is not stable with 400M. Change-Id: I5ea988704fd4d82154319cc0b3376aad10d9373b Signed-off-by: Jeffy Chen --- 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))