Message ID | 1479287098-30493-4-git-send-email-m.szyprowski@samsung.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp56467obn; Wed, 16 Nov 2016 01:05:32 -0800 (PST) X-Received: by 10.99.143.90 with SMTP id r26mr5971975pgn.164.1479287132661; Wed, 16 Nov 2016 01:05:32 -0800 (PST) Return-Path: <linux-samsung-soc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k5si27319985pfk.138.2016.11.16.01.05.32; Wed, 16 Nov 2016 01:05:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932375AbcKPJF3 (ORCPT <rfc822;riku.voipio@linaro.org> + 4 others); Wed, 16 Nov 2016 04:05:29 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:10975 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933750AbcKPJFY (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Wed, 16 Nov 2016 04:05:24 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGQ005L898W6280@mailout4.w1.samsung.com>; Wed, 16 Nov 2016 09:05:20 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20161116090519eucas1p1ee1668a5ce47e14f5d9de0234f287355~He8xCuikm3104431044eucas1p1o; Wed, 16 Nov 2016 09:05:19 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 84.A5.28332.F412C285; Wed, 16 Nov 2016 09:05:19 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20161116090519eucas1p11aa58cad47673b61c9e077d4fcd29d0d~He8wY80Hk0322403224eucas1p1B; Wed, 16 Nov 2016 09:05:19 +0000 (GMT) X-AuditID: cbfec7f4-f791c6d000006eac-54-582c214fc87e Received: from eusync2.samsung.com ( [203.254.199.212]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 2B.4A.07726.4512C285; Wed, 16 Nov 2016 09:05:24 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OGQ00GDL98JU960@eusync2.samsung.com>; Wed, 16 Nov 2016 09:05:19 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Krzysztof Kozlowski <krzk@kernel.org>, Seung-Woo Kim <sw0312.kim@samsung.com>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Javier Martinez Canillas <javier@osg.samsung.com>, Andrzej Hajda <a.hajda@samsung.com>, Inki Dae <inki.dae@samsung.com> Subject: [PATCH 3/9] s5p-mfc: Remove special clock rate management Date: Wed, 16 Nov 2016 10:04:52 +0100 Message-id: <1479287098-30493-4-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1479287098-30493-1-git-send-email-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCIsWRmVeSWpSXmKPExsWy7djP87r+ijoRBosvK1vcWneO1WLjjPWs FpP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zgHuwkr5dglvGhLlTmQu2cVS0LH/F1MD4l62LkZNDQsBEYseJfmYIW0ziwr31 QHEuDiGBJYwSC7ceZIdwmpgkvq7/ywRSxSZgKNH1tgusW0TASWLhrL9gRcwCT5gkzrzbD1Yk DJTYce0pO4jNIqAq8Xnne7A4r4CHxPqj/1kg1slJnDw2mRXE5hTwlHgy8xVQnANom4fE8qOm Exh5FzAyrGIUSS0tzk3PLTbUK07MLS7NS9dLzs/dxAgM8G3Hfm7ewXhpY/AhRgEORiUe3gXq 2hFCrIllxZW5hxglOJiVRHivC+pECPGmJFZWpRblxxeV5qQWH2I0BbppIrOUaHI+MPrySuIN TQzNLQ2NjC0szI2MlMR5Sz5cCRcSSE8sSc1OTS1ILYLpY+LglGpgTOGeFWFw/oDc7IB5j7v3 9XqUF6z2/aLxqF3MYAOrWEWxn1TjlWCG9sN8AsKtnk4uHR9uye9ydQtWNdAXyqngzZuqXf1j lWYU3+TT3nHCt9XilbqV9D9t8AuV3H62ZrdgomX2+2uL1Atuqfz96vP+Mmebqy2LBWtTVtpv 2cO6bH9ulXitC1BiKc5INNRiLipOBACppHrJhgIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20161116090519eucas1p11aa58cad47673b61c9e077d4fcd29d0d X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRs=?= =?UTF-8?B?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?TWFyZWsgU3p5cHJvd3NraRtTUlBPTC1LZXJuZWwgKFRQKRtT?= =?UTF-8?B?YW1zdW5nIEVsZWN0cm9uaWNzG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTI=?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20161116090519eucas1p11aa58cad47673b61c9e077d4fcd29d0d X-RootMTR: 20161116090519eucas1p11aa58cad47673b61c9e077d4fcd29d0d References: <1479287098-30493-1-git-send-email-m.szyprowski@samsung.com> <CGME20161116090519eucas1p11aa58cad47673b61c9e077d4fcd29d0d@eucas1p1.samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org |
diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c index b5806ab7ac31..818c04646061 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c @@ -20,7 +20,6 @@ #define MFC_GATE_CLK_NAME "mfc" #define MFC_SCLK_NAME "sclk_mfc" -#define MFC_SCLK_RATE (200 * 1000000) #define CLK_DEBUG @@ -57,7 +56,6 @@ int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) mfc_info("Failed to get MFC special clock control\n"); pm->clock = NULL; } else { - clk_set_rate(pm->clock, MFC_SCLK_RATE); ret = clk_prepare_enable(pm->clock); if (ret) { mfc_err("Failed to enable MFC special clock\n");
The maximum rate of special clock depends on SoC variant and should be set in device tree via assigned-clock-rates property, so remove the code which forces special clock to 200MHz. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 2 -- 1 file changed, 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html