From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DAF1C43381 for ; Fri, 1 Mar 2019 08:35:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0894B2085A for ; Fri, 1 Mar 2019 08:35:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="EIm+zkEG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732662AbfCAIfT (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 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.19.2