From patchwork Tue Jul 22 05:35:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 4599761 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA3EAC0515 for ; Tue, 22 Jul 2014 05:35:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EA2AB20120 for ; Tue, 22 Jul 2014 05:35:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 265E220125 for ; Tue, 22 Jul 2014 05:35:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751945AbaGVFfI (ORCPT ); Tue, 22 Jul 2014 01:35:08 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:56913 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751164AbaGVFfH (ORCPT ); Tue, 22 Jul 2014 01:35:07 -0400 Received: by mail-pd0-f176.google.com with SMTP id y10so10407506pdj.35 for ; Mon, 21 Jul 2014 22:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:sender:message-id:to:cc:in-reply-to:references:from:subject :user-agent:mime-version:content-type; bh=QHWbDtY+HKRb21ANftCe58sVCofmvaRJe0t6SgIM4Qk=; b=AP7C9KOUd8ingdxZaB98quUO8ueW6Xph2UPYrxQlRsOmfAJ3okwhvipbWJjsUT9zRO CWbEh6JaQQwHwXJGS/uwHzm4c8fQYDU77ei8vrQ3+j0HJPQgzRHfpOLdF8srrsP2PVcU t3QxyEsTinqSzOrXZBATXyd0+7tNV7MVV35NFutUMzzk7nxMfT9NSTiJtIf3D+vj6KOg uRosjDJDA9gOlkjslrNkiyqmV5juQXXVOwvnknAHBzIq6niQ2xR2DgslbysZMk89HDk5 Q2KCQmZarre4oNp4E8U0PG/UemlRCfIEHTyVbIF7NpMAWYMZwftoLw+MF/pmLo90Vzhn +Vtw== X-Received: by 10.67.23.70 with SMTP id hy6mr30941153pad.30.1406007307507; Mon, 21 Jul 2014 22:35:07 -0700 (PDT) Received: from remon.gmail.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id xk3sm15980696pbb.65.2014.07.21.22.35.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 21 Jul 2014 22:35:07 -0700 (PDT) Date: Mon, 21 Jul 2014 22:35:07 -0700 (PDT) Message-ID: <871ttehs6v.wl%kuninori.morimoto.gx@renesas.com> To: Simon , Ian Molton , Chris Ball Cc: TOSHIAKI KOMATSU , NAOYA SHIIBA , Magnus , Linux-SH , (Renesas) goda , linux-mmc@vger.kernel.org, ryo.kataoka.wt@renesas.com, shinobu.uehara.xc@renesas.com, kouei.abe.cp@renesas.com In-Reply-To: <87egxehsec.wl%kuninori.morimoto.gx@gmail.com> References: <87simtenpi.wl%kuninori.morimoto.gx@renesas.com> <87pphxe2q0.wl%kuninori.morimoto.gx@renesas.com> <53AD638C.5060907@renesas.com> <87egxehsec.wl%kuninori.morimoto.gx@gmail.com> From: Kuninori Morimoto Subject: [PATCH 09/10] mmc: tmio: remove SCLKEN bit setting from tmio_mmc_set_clock() User-Agent: Wanderlust/2.14.0 Emacs/23.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto TMIO clock is set via tmio_mmc_set_clock() -> tmio_mmc_clk_start(), and SCLKEN bit will be set on tmio_mmc_clk_start(). It is not needed on tmio_mmc_set_clock() function. The required clock setting will not be able to set in some clocks without this patch. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/tmio_mmc_pio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c index b19d0cd..da3c74d 100644 --- a/drivers/mmc/host/tmio_mmc_pio.c +++ b/drivers/mmc/host/tmio_mmc_pio.c @@ -150,7 +150,6 @@ static void tmio_mmc_set_clock(struct tmio_mmc_host *host, int new_clock) for (clock = host->mmc->f_min, clk = 0x80000080; new_clock >= (clock<<1); clk >>= 1) clock <<= 1; - clk |= 0x100; } if (host->set_clk_div)