From patchwork Fri May 10 16:46:35 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 2551771 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 3AF7CDF2A2 for ; Fri, 10 May 2013 16:47:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756330Ab3EJQrG (ORCPT ); Fri, 10 May 2013 12:47:06 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:13839 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754459Ab3EJQrG (ORCPT ); Fri, 10 May 2013 12:47:06 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MML00B0EDA8QI20@mailout4.samsung.com>; Sat, 11 May 2013 01:47:03 +0900 (KST) X-AuditID: cbfee61b-b7fcf6d00000058e-ea-518d24870b4e Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 1F.63.01422.7842D815; Sat, 11 May 2013 01:47:03 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MML00AJYD9V6I70@mmp2.samsung.com>; Sat, 11 May 2013 01:47:03 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: kyungmin.park@samsung.com, inki.dae@samsung.com, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki Subject: [PATCH] exynos4-is: Remove "sysreg" clock handling Date: Fri, 10 May 2013 18:46:35 +0200 Message-id: <1368204395-12732-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrIJMWRmVeSWpSXmKPExsVy+t9jQd12ld5Ag/f7VS0m3Z/AYnG26Q27 Rc+GrawWM87vY7I4/Kad1YHVo2/LKkaPz5vkApiiuGxSUnMyy1KL9O0SuDLm905kLJjEW/Hh zkXmBsaJ3F2MnBwSAiYSj1ddY4WwxSQu3FvP1sXIxSEkMJ1RYtvvWywQTgeTxJLXR5hBqtgE DCV6j/YxgtgiAvIST3pvsIHYzAKtjBKr1jiD2MIC1hInfp4Fq2ERUJXYNGMm0CAODl4BN4nt kwJBTAkBBYk5k2wmMHIvYGRYxSiaWpBcUJyUnmukV5yYW1yal66XnJ+7iRHs8WfSOxhXNVgc YhTgYFTi4a0Q6g0UYk0sK67MPcQowcGsJMKbfLsnUIg3JbGyKrUoP76oNCe1+BCjNAeLkjjv wVbrQCGB9MSS1OzU1ILUIpgsEwenVAMjj69d+7tpHNLf56xefmdemvrhXW2cWR71sxN2btZW vx+7/kLANoa114J15wXWBW7+8mSl17V5kw8vLkvZJsLEuPl1ShTvQzc5z2alg8UPUkIXnpbc XsUmF7Ah4t06q235zBtd2PcvlSt0jL71fOG7icr6HDMlOvfNflqyWeFEWeRRC8nyhM2iSizF GYmGWsxFxYkAxf3EOfQBAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The "sysreg" clock is required by multiple subsystems and none of the other drivers handles this clock explicitly. It is currently assumed that this clock is always on, left in its default state after system reset. Remove handling of this clock from the FIMC-IS driver to avoid breaking other subsystems. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- This patch should be applied after: [PATCH] clk: samsung: Add CLK_IGNORE_UNUSED flag for the sysreg clocks http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg18076.html drivers/media/platform/exynos4-is/fimc-is.c | 1 - drivers/media/platform/exynos4-is/fimc-is.h | 1 - 2 files changed, 2 deletions(-) -- 1.7.9.5 -- 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 diff --git a/drivers/media/platform/exynos4-is/fimc-is.c b/drivers/media/platform/exynos4-is/fimc-is.c index 47c6363..a094bb6 100644 --- a/drivers/media/platform/exynos4-is/fimc-is.c +++ b/drivers/media/platform/exynos4-is/fimc-is.c @@ -48,7 +48,6 @@ static char *fimc_is_clocks[ISS_CLKS_MAX] = { [ISS_CLK_LITE0] = "lite0", [ISS_CLK_LITE1] = "lite1", [ISS_CLK_MPLL] = "mpll", - [ISS_CLK_SYSREG] = "sysreg", [ISS_CLK_ISP] = "isp", [ISS_CLK_DRC] = "drc", [ISS_CLK_FD] = "fd", diff --git a/drivers/media/platform/exynos4-is/fimc-is.h b/drivers/media/platform/exynos4-is/fimc-is.h index f5275a5..606a7c9 100644 --- a/drivers/media/platform/exynos4-is/fimc-is.h +++ b/drivers/media/platform/exynos4-is/fimc-is.h @@ -73,7 +73,6 @@ enum { ISS_CLK_LITE0, ISS_CLK_LITE1, ISS_CLK_MPLL, - ISS_CLK_SYSREG, ISS_CLK_ISP, ISS_CLK_DRC, ISS_CLK_FD,