From patchwork Fri Mar 1 08:38:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Faiz Abbas X-Patchwork-Id: 10834663 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F90B1575 for ; Fri, 1 Mar 2019 08:35:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DBB42F34E for ; Fri, 1 Mar 2019 08:35:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6EA592F467; Fri, 1 Mar 2019 08:35:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DB7B2F34E for ; Fri, 1 Mar 2019 08:35:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726226AbfCAIfT (ORCPT ); Fri, 1 Mar 2019 03:35:19 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:33706 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbfCAIfT (ORCPT ); Fri, 1 Mar 2019 03:35:19 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x218ZHrJ008125; Fri, 1 Mar 2019 02:35:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1551429317; bh=XQh19TV64zy7/ZFbJh3oVqF8nDznhlRSNtiW8X9DATw=; h=From:To:CC:Subject:Date; b=EIm+zkEG40scKZit2QwgX4CPQFgXP75hyN7kZTZXgdw3nD+hIqJq+u5PHBei0de6Y u5+97z/fDtiqSu1AxXE7eWBFgNGjlaaAP7kEtYHKupPphcJqUIXnSVfPRIqVoNXoBb 2kzxk/yKw2ypkrSUVgG2NbvWB3i8m6RI3d/aVtrM= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x218ZHsS124904 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 1 Mar 2019 02:35:17 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Fri, 1 Mar 2019 02:35:16 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Fri, 1 Mar 2019 02:35:16 -0600 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x218ZDJB009551; Fri, 1 Mar 2019 02:35:14 -0600 From: Faiz Abbas To: , , CC: , , , Subject: [PATCH v2 0/2] Fixes for command errors during tuning Date: Fri, 1 Mar 2019 14:08:22 +0530 Message-ID: <20190301083824.23918-1-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These patches fix the following error message in dra7xx boards: [4.833198] mmc1: Got data interrupt 0x00000002 even though no data operation was in progress. Tested with 100 times boot tests on dra71x-evm, dra72x-evm and dra7xx-evm. v2: Added EXPORT_SYMBOL_GPL for sdhci_cmd_err and sdhci_send_command to fix errors when built as module. Faiz Abbas (2): mmc: sdhci: Add platform_cmd_err() to sdhci_ops mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning drivers/mmc/host/sdhci-omap.c | 24 +++++++++++++++++++++ drivers/mmc/host/sdhci.c | 40 +++++++++++++++++++++++------------ drivers/mmc/host/sdhci.h | 4 ++++ 3 files changed, 54 insertions(+), 14 deletions(-)