From patchwork Thu Mar 5 10:45:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 5944751 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 2DD62BF440 for ; Thu, 5 Mar 2015 10:45:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6CD3D20382 for ; Thu, 5 Mar 2015 10:45:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F77A20383 for ; Thu, 5 Mar 2015 10:45:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754833AbbCEKp1 (ORCPT ); Thu, 5 Mar 2015 05:45:27 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:21732 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbbCEKp0 (ORCPT ); Thu, 5 Mar 2015 05:45:26 -0500 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NKQ00M55J7OV860@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Thu, 05 Mar 2015 19:45:24 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.115]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 1B.0B.19034.3C338F45; Thu, 05 Mar 2015 19:45:24 +0900 (KST) X-AuditID: cbfee691-f79b86d000004a5a-7f-54f833c37538 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id CA.16.09430.3C338F45; Thu, 05 Mar 2015 19:45:23 +0900 (KST) Received: from localhost.localdomain ([10.252.81.186]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NKQ00FXGJ7N4B10@mmp2.samsung.com>; Thu, 05 Mar 2015 19:45:23 +0900 (KST) From: Jaehoon Chung To: linux-mmc Cc: Chris Ball , Ulf Hansson , tgih.jun@samsung.com, alim.akhtar@samsung.com, dianders@chromium.org, Jaehoon Chung Subject: [PATCH] mmc: dw_mmc: enable card read threshold when mode is HS400 Date: Thu, 05 Mar 2015 19:45:21 +0900 Message-id: <1425552321-24787-1-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrELMWRmVeSWpSXmKPExsWyRsSkWPeI8Y8Qg3/7GC0ezNvGZjHh8nZG i7PLDrJZ3PjVxmpx5H8/o8WH+xeZLY6vDXdg95jdcJHF4861PWweN14tZPLo27KK0ePzJrkA 1igum5TUnMyy1CJ9uwSujD1vT7AXHGGtuN60la2B8ThLFyMnh4SAicSTaWfYIWwxiQv31rN1 MXJxCAksZZS4cf0cXNG/JUvZIRLTGSXe7//FDOG0MUl0z/7ICFLFJqAjsf3bcSYQW0RAU6Jz +0qwUcwCOxklfs67CtTBwSEs4C2x6kUdSA2LgKrEi8U/WEFsXgE3iebH/1hBSiQEFCTmTLIB aZUQaGaXaDv5lwWiXkDi2+RDLBA1shKbDjBDHCcpcXDFDZYJjIILGBlWMYqmFiQXFCelF5nq FSfmFpfmpesl5+duYgQG7el/zybuYLx/wPoQowAHoxIP74fN30OEWBPLiitzDzGaAm2YyCwl mpwPjI28knhDYzMjC1MTU2Mjc0szJXFeHemfwUIC6YklqdmpqQWpRfFFpTmpxYcYmTg4pRoY c+Q/MeZU7tj4I3/JnopyK33R/3oivFPq+ouniewytU8/+PrMggsttyUtedwyLJi7ZuebTL52 UzZU1Vff+Jbm3QUKWdJpnolf+oWWK34R8gz4cPQ2h+8hF4unFpL+ansam07dub9I8mDhBP/d 5s9uPTCXigzsjrX987Vw89FZf4p/aVW2rL+nxFKckWioxVxUnAgABn96glUCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeLIzCtJLcpLzFFi42I5/e+xoO5h4x8hBvcvm1s8mLeNzWLC5e2M FmeXHWSzuPGrjdXiyP9+RosP9y8yWxxfG+7A7jG74SKLx51re9g8brxayOTRt2UVo8fnTXIB rFENjDYZqYkpqUUKqXnJ+SmZeem2St7B8c7xpmYGhrqGlhbmSgp5ibmptkouPgG6bpk5QGco KZQl5pQChQISi4uV9O0wTQgNcdO1gGmM0PUNCYLrMTJAAwlrGDP2vD3BXnCEteJ601a2Bsbj LF2MnBwSAiYS/5YsZYewxSQu3FvP1sXIxSEkMJ1R4v3+X8wQThuTRPfsj4wgVWwCOhLbvx1n ArFFBDQlOrevBOtgFtjJKPFz3lWgDg4OYQFviVUv6kBqWARUJV4s/sEKYvMKuEk0P/7HClIi IaAgMWeSzQRG7gWMDKsYRVMLkguKk9JzjfSKE3OLS/PS9ZLzczcxgmPimfQOxlUNFocYBTgY lXh4P27+HiLEmlhWXJl7iFGCg1lJhDdf60eIEG9KYmVValF+fFFpTmrxIUZToOUTmaVEk/OB 8ZpXEm9obGJmZGlkbmhhZGyuJM6rZN8WIiSQnliSmp2aWpBaBNPHxMEp1cA4dzLj6dPLj6Ty l36c8epuvsDNPVLHz+0SYWSZ+Fr6kPMOFYmzH7X/Oph6V4oKyp5uFU58q8dm+uTK79NNbPue t0/jfhaUkPp76qEz9z7POcS1tMwk13vGrV0LJaOYdCcy53qWbGZYqO66x0hcTV/upbxAigyz 20npF0tviPls9ReL1e57y+SuxFKckWioxVxUnAgAF96wEJ8CAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Enable card-read-threshold, when eMMC mode is HS400. Refer to f1d2736c8156 (mmc: dw_mmc: control card read threshold) Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index b46b825..d0b123e 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -764,6 +764,7 @@ static void dw_mci_ctrl_rd_thld(struct dw_mci *host, struct mmc_data *data) return; if (host->timing != MMC_TIMING_MMC_HS200 && + host->timing != MMC_TIMING_MMC_HS400 && host->timing != MMC_TIMING_UHS_SDR104) goto disable;