From patchwork Tue Feb 26 16:16:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Faiz Abbas X-Patchwork-Id: 10830525 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 17843180E for ; Tue, 26 Feb 2019 16:13:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 063452CFB9 for ; Tue, 26 Feb 2019 16:13:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 041A72CFB3; Tue, 26 Feb 2019 16:13:17 +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 907102CFB9 for ; Tue, 26 Feb 2019 16:13:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727998AbfBZQM7 (ORCPT ); Tue, 26 Feb 2019 11:12:59 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:54004 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727216AbfBZQM7 (ORCPT ); Tue, 26 Feb 2019 11:12:59 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x1QGCuk8096065; Tue, 26 Feb 2019 10:12:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1551197576; bh=v+4AFURw0oGtLn2+wC2ypAYKd3q4aLPGI+CmtIxM3vQ=; h=From:To:CC:Subject:Date; b=os/uGqYR+n7b9JGzUMEAv7RD+L1kdTvUkj/SmiqJeO1sGQ3MCKNB8utaI8dx9Se9R dx/X62DzGTKkM5FbUoOUT2Uxob5plHUrfb4yOqKqYKEQ4Mh9ZfpKPCNXQIjHbEfKXw PbgHSBFCN34nEREQ9KOId7uQPruqo2TDTHmBHBLU= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x1QGCu5c059596 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Feb 2019 10:12:56 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Tue, 26 Feb 2019 10:12:55 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Tue, 26 Feb 2019 10:12:55 -0600 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x1QGCrY6024164; Tue, 26 Feb 2019 10:12:53 -0600 From: Faiz Abbas To: , , CC: , , , Subject: [PATCH 0/2] Fixes for command errors during tuning Date: Tue, 26 Feb 2019 21:46:04 +0530 Message-ID: <20190226161606.18569-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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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. 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 | 37 ++++++++++++++++++++++------------- drivers/mmc/host/sdhci.h | 4 ++++ 3 files changed, 51 insertions(+), 14 deletions(-)