From patchwork Fri Mar 8 08:14:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chunhe Lan X-Patchwork-Id: 2235391 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7D8924006E for ; Fri, 8 Mar 2013 08:26:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753995Ab3CHI0M (ORCPT ); Fri, 8 Mar 2013 03:26:12 -0500 Received: from mail-db8lp0186.outbound.messaging.microsoft.com ([213.199.154.186]:15455 "EHLO db8outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753451Ab3CHI0M (ORCPT ); Fri, 8 Mar 2013 03:26:12 -0500 X-Greylist: delayed 905 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Mar 2013 03:26:12 EST Received: from mail161-db8-R.bigfish.com (10.174.8.239) by DB8EHSOBE023.bigfish.com (10.174.4.86) with Microsoft SMTP Server id 14.1.225.23; Fri, 8 Mar 2013 08:11:04 +0000 Received: from mail161-db8 (localhost [127.0.0.1]) by mail161-db8-R.bigfish.com (Postfix) with ESMTP id 9D6C720067; Fri, 8 Mar 2013 08:11:04 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275dh8275bhz2dh2a8h668h839he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1155h) Received: from mail161-db8 (localhost.localdomain [127.0.0.1]) by mail161-db8 (MessageSwitch) id 1362730263181267_26168; Fri, 8 Mar 2013 08:11:03 +0000 (UTC) Received: from DB8EHSMHS023.bigfish.com (unknown [10.174.8.252]) by mail161-db8.bigfish.com (Postfix) with ESMTP id 2A5C7500054; Fri, 8 Mar 2013 08:11:03 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB8EHSMHS023.bigfish.com (10.174.4.33) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 8 Mar 2013 08:10:58 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.2.328.11; Fri, 8 Mar 2013 08:10:57 +0000 Received: from ustc.localdomain4 ([10.193.20.71]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r288Ar9p004177; Fri, 8 Mar 2013 01:10:54 -0700 From: Chunhe Lan To: CC: , Chunhe Lan Subject: [PATCH] mmc: sdhci-pltfm: Fix timeout on t4240's sdhci controller Date: Fri, 8 Mar 2013 16:14:10 +0800 Message-ID: <1362730450-24254-1-git-send-email-Chunhe.Lan@freescale.com> X-Mailer: git-send-email 1.7.6.5 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This patch fixes timeout problems on t4240's sdhci controller: mmc0: Too large timeout requested for CMD25! mmc0: Too large timeout requested for CMD25! mmc0: Too large timeout requested for CMD25! Signed-off-by: Chunhe Lan Cc: Chris Ball --- drivers/mmc/host/sdhci-pltfm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c index 3145a78..9db7b12 100644 --- a/drivers/mmc/host/sdhci-pltfm.c +++ b/drivers/mmc/host/sdhci-pltfm.c @@ -94,6 +94,7 @@ void sdhci_get_of_property(struct platform_device *pdev) if (of_device_is_compatible(np, "fsl,p2020-esdhc") || of_device_is_compatible(np, "fsl,p1010-esdhc") || + of_device_is_compatible(np, "fsl,t4240-esdhc") || of_device_is_compatible(np, "fsl,mpc8536-esdhc")) host->quirks |= SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;