From patchwork Tue Mar 26 05:20:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prasanna Kumar X-Patchwork-Id: 2334751 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 17EE6DF264 for ; Tue, 26 Mar 2013 05:17:14 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKMDb-0004cs-MM; Tue, 26 Mar 2013 05:14:43 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UKMDW-0004c0-Q7 for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2013 05:14:40 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MK900HEH579BVB0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 26 Mar 2013 14:14:28 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 23.AD.07735.4BE21515; Tue, 26 Mar 2013 14:14:28 +0900 (KST) X-AuditID: cbfee68e-b7f946d000001e37-66-51512eb49f89 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id FD.1B.17838.4BE21515; Tue, 26 Mar 2013 14:14:28 +0900 (KST) Received: from user-ubuntu.sisodomain.com ([107.108.83.235]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MK9007G757MEW10@mmp2.samsung.com>; Tue, 26 Mar 2013 14:14:28 +0900 (KST) From: Prasanna Kumar To: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, kyungmin.park@samsung.com, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] [media] s5p-mfc: Change MFC clock reference w.r.t Common Clock Framework Date: Tue, 26 Mar 2013 10:50:51 +0530 Message-id: <1364275251-31394-1-git-send-email-prasanna.ps@samsung.com> X-Mailer: git-send-email 1.7.5.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRmVeSWpSXmKPExsWyRsSkTneLXmCgwYHvBha9C66yWZxtesNu senxNVaLng1bWS1mnN/HZDH7x092BzaPzUvqPfq2rGL0+LxJLoA5issmJTUnsyy1SN8ugSvj 1sYpLAUf2CpeLZzP2sD4jrWLkZNDQsBE4kPfJChbTOLCvfVsXYxcHEICSxklbtw4zw5TNLdl F1iRkMB0RokPLYYQRd1MEvdO3GQGSbAJ6EnMn7GcHSQhIjCPUWJubxMTSIJZQEdi//NNYJOE BaIlFrTvBIpzcLAIqEp0/U4ECfMKuEt82D2DBWKZgsSvI6tYQeZICLxmk3hzcwHYZhYBAYlv kw+xgPRKCMhKbDrADFEvKXFwxQ2WCYyCCxgZVjGKphYkFxQnpRcZ6RUn5haX5qXrJefnbmIE huXpf8/6djDePGB9iDEZaNxEZinR5HxgWOeVxBsamxlZmJqYGhuZW5qRJqwkzqvWYh0oJJCe WJKanZpakFoUX1Sak1p8iJGJg1OqgXHKsXUr07VfmV27cM1iq7RCYnnMphlebmu/ZL6s1TQW TFqzW5RDmHFNvusUtuk/2OtXyly6OiOG51PAp6Lmp4x3XAUklkUJJcVGix18yJYjXZ6dtPFO P1vt3ZnGLvm6bzLU1vnMV84pvK/9d0lmaHXIxmN8KzUE4hxFObKPSAveq+Q5/TL1hRJLcUai oRZzUXEiAGG3yUxhAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNIsWRmVeSWpSXmKPExsVy+t9jQd0teoGBBgcna1j0LrjKZnG26Q27 xabH11gtejZsZbWYcX4fk8XsHz/ZHdg8Ni+p9+jbsorR4/MmuQDmqAZGm4zUxJTUIoXUvOT8 lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRbJRefAF23zBygvUoKZYk5pUChgMTiYiV9O0wT QkPcdC1gGiN0fUOC4HqMDNBAwhrGjFsbp7AUfGCreLVwPmsD4zvWLkZODgkBE4m5LbugbDGJ C/fWs4HYQgLTGSU+tBh2MXIB2d1MEvdO3GQGSbAJ6EnMn7GcHSQhIjCPUWJubxMTSIJZQEdi //NN7CC2sEC0xIL2nUBxDg4WAVWJrt+JIGFeAXeJD7tnsEAsU5D4dWQV6wRG7gWMDKsYRVML kguKk9JzDfWKE3OLS/PS9ZLzczcxgoP+mdQOxpUNFocYBTgYlXh4NwQHBAqxJpYVV+YeYpTg YFYS4T12ASjEm5JYWZValB9fVJqTWnyIMRlo+URmKdHkfGBE5pXEGxqbmJsam1qaWJiYWZIm rCTOe6DVOlBIID2xJDU7NbUgtQhmCxMHp1QDY+/bUxs+7fzM/0jNmqtfjFX5dvR05cy8W8eY Dhy22z6xbU378Qlrgxg+RIYkin5Umbyi480XnvB192IYjy3tXXg6JfZf4dTk3qObIvodn5af lIvSe99pdv5YTaFwyoKN/tuWKN3zEHCIqknxszM7X+XiUejy0pBpq2Xo1ceS4hFZ1pWT+XZ6 KLEUZyQaajEXFScCABrf+Gq+AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130326_011439_099629_F74AC820 X-CRM114-Status: UNSURE ( 8.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.1 (--------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-8.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.24 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.3 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 HDRS_LCASE Odd capitalization of message header Cc: Prasanna Kumar X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Prasanna Kumar According to Common Clock framework , modified the method of getting clock for MFC Block. Signed-off-by: Prasanna Kumar --- drivers/media/platform/s5p-mfc/s5p_mfc_pm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c index 6aa38a5..b8ac8f6 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_pm.c @@ -50,7 +50,7 @@ int s5p_mfc_init_pm(struct s5p_mfc_dev *dev) goto err_p_ip_clk; } - pm->clock = clk_get(&dev->plat_dev->dev, dev->variant->mclk_name); + pm->clock = clk_get_parent(pm->clock_gate); if (IS_ERR(pm->clock)) { mfc_err("Failed to get MFC clock\n"); ret = PTR_ERR(pm->clock);