From patchwork Fri May 30 10:40:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 4269631 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 E0C44BEEA7 for ; Fri, 30 May 2014 10:40:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 166F320384 for ; Fri, 30 May 2014 10:40:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E1C22038C for ; Fri, 30 May 2014 10:40:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755540AbaE3Kkv (ORCPT ); Fri, 30 May 2014 06:40:51 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:41937 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186AbaE3Kku (ORCPT ); Fri, 30 May 2014 06:40:50 -0400 Received: by mail-pa0-f46.google.com with SMTP id kq14so1580821pab.33 for ; Fri, 30 May 2014 03:40:50 -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=PS4YuW4EkPCk8W3bXaBPGaBwKfb8YD/w2UrgiyZWO30=; b=W0xUkQClvFyRc+HnEXskuuFUNMh73A+ZoPWvkD0FDxaCjWd5ervqqkj9ux3C+tmdO0 BQgX9aTnBwyGv91r2nPetG9ziyZ8yTElbSgO85BK5NjmzFPotVnFwhm9bUKMElHueLER r+sSn7uN+arvE7V+PgZSw9nEgY5U0GSmowtmZYFdRHf05/7BEEfSH6brpW0G9dkqao0p J9GVTVcTtCarD07j7G9DsWASkJtnrUyad6HvG9sz3mYlm+8TngOCq9kg/ZI2VTXhuFOj KB/NkRRjyOyzzS4mBBXNTKGK/paHKXJ93HSZF4h7fuEV9Dg4Vql1HfF7CmaiBBTnm8bh bkGw== X-Received: by 10.68.254.70 with SMTP id ag6mr17082425pbd.33.1401446450110; Fri, 30 May 2014 03:40:50 -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 f2sm16952266pat.11.2014.05.30.03.40.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 30 May 2014 03:40:49 -0700 (PDT) Date: Fri, 30 May 2014 03:40:49 -0700 (PDT) Message-ID: <87mwdzpn0v.wl%kuninori.morimoto.gx@renesas.com> To: Chris Ball Cc: Simon , Magnus , Linux-SH , Kuninori Morimoto , linux-mmc@vger.kernel.org In-Reply-To: <87ppivpn25.wl%kuninori.morimoto.gx@renesas.com> References: <87ppivpn25.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 2/3] mmc: sdhi: tidyup mmc_data setting for R-Car SDHI 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=-7.4 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 R-Car Gen2 SDHI has 2 block read HW bugs. Current setting is using MMC_CAP2_NO_MULTI_READ, but it is overkill. We can use MMC_CAP2_NO_2BLKS_READ instead of it. Signed-off-by: Kuninori Morimoto --- drivers/mmc/host/sh_mobile_sdhi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 91058da..b3baa83 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -55,7 +55,7 @@ static const struct sh_mobile_sdhi_of_data of_rcar_gen1_compatible = { static const struct sh_mobile_sdhi_of_data of_rcar_gen2_compatible = { .tmio_flags = TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_WRPROTECT_DISABLE, .capabilities = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ, - .capabilities2 = MMC_CAP2_NO_MULTI_READ, + .capabilities2 = MMC_CAP2_NO_2BLKS_READ, }; static const struct of_device_id sh_mobile_sdhi_of_match[] = {