From patchwork Sat Nov 10 14:07:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Gusakov X-Patchwork-Id: 1723781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 5910E3FC8A for ; Sat, 10 Nov 2012 14:12:39 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TXBl7-0003su-48; Sat, 10 Nov 2012 14:10:05 +0000 Received: from mail-la0-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TXBky-0003sb-NP for linux-arm-kernel@lists.infradead.org; Sat, 10 Nov 2012 14:09:58 +0000 Received: by mail-la0-f49.google.com with SMTP id z14so3478267lag.36 for ; Sat, 10 Nov 2012 06:09:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=zJmdtBGTQjYkuipYm79QNIAa11sx0CmbapMDHzcGAbQ=; b=ECLQPDLfFK2bp/FH8U66kir/US77PwyuopqOQ/Bf8n6rhcyiV1DvkwS2uvdpWJniCv kofBjTbbewrUYxUkbMTVaGpIkh0fux15S4uVpB+LdZC+5i0I4l9m0C7xaDNOBNgrKOTp jmZz4jRevqhNAVBVy9w13irqfaG1DnZWoiwhHVOUWUd9JvCRi+4Iq05gkFgdiY9QpNDT fUj5hk2tOqbbcZYz/YuamW4dSWsBjBrDoaEFbsMyWSN0BYrAjiJ7OMqjuftnaUysB1ML LEfQGrPC7/WRKMdwf68s6n4EG/n4n67uuevGSp6MYhmeubv/BJuQ1jW4PnLgT7BDrUv3 /K3A== Received: by 10.112.25.6 with SMTP id y6mr5788073lbf.17.1352556592505; Sat, 10 Nov 2012 06:09:52 -0800 (PST) Received: from localhost.localdomain ([188.242.236.108]) by mx.google.com with ESMTPS id fp7sm514548lab.4.2012.11.10.06.09.50 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Nov 2012 06:09:51 -0800 (PST) From: dron0gus@gmail.com To: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: S3C64XX: Remove duplicated camera clock Date: Sat, 10 Nov 2012 18:07:56 +0400 Message-Id: <509e602f.a766980a.0f91.14f4@mx.google.com> X-Mailer: git-send-email 1.7.0.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121110_090956_970059_A61AAC25 X-CRM114-Status: GOOD ( 11.26 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (dron0gus[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: sylvester.nawrocki@gmail.com, Andrey Gusakov , Andrey Gusakov X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Andrey Gusakov Camera clock defined two times. One in init_clocks_off array with "cam" name, second in clksrcs array with "camera" name. Leave second definition because clock have divider. Signed-off-by: Andrey Gusakov Reviewed-by: Tomasz Figa Reviewed-by: Sylwester Nawrocki --- arch/arm/mach-s3c64xx/clock.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c index cacbe45..b2d08fa 100644 --- a/arch/arm/mach-s3c64xx/clock.c +++ b/arch/arm/mach-s3c64xx/clock.c @@ -319,10 +319,6 @@ static struct clk init_clocks_off[] = { .enable = s3c64xx_sclk_ctrl, .ctrlbit = S3C_CLKCON_SCLK_MFC, }, { - .name = "cam", - .enable = s3c64xx_sclk_ctrl, - .ctrlbit = S3C_CLKCON_SCLK_CAM, - }, { .name = "sclk_jpeg", .enable = s3c64xx_sclk_ctrl, .ctrlbit = S3C_CLKCON_SCLK_JPEG,