From patchwork Fri Nov 9 16:06:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balaji T K X-Patchwork-Id: 1721091 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 2FB09DF264 for ; Fri, 9 Nov 2012 16:06:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753880Ab2KIQGZ (ORCPT ); Fri, 9 Nov 2012 11:06:25 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:54501 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754439Ab2KIQGX (ORCPT ); Fri, 9 Nov 2012 11:06:23 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id qA9G6LJO007867; Fri, 9 Nov 2012 10:06:22 -0600 Received: from DBDE70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id qA9G6JT5002985; Fri, 9 Nov 2012 21:36:20 +0530 (IST) Received: from dbdp32.itg.ti.com (172.24.170.251) by dbde70.ent.ti.com (172.24.170.148) with Microsoft SMTP Server id 14.1.323.3; Fri, 9 Nov 2012 21:36:19 +0530 Received: from ulaa0393241.india.ti.com (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp32.itg.ti.com (8.13.8/8.13.8) with ESMTP id qA9G6Ikh009922; Fri, 9 Nov 2012 21:36:19 +0530 From: Balaji T K To: , CC: , , Balaji T K Subject: [PATCH v2 2/3] mmc: omap_hsmmc: no reset of cmd state machine for DCRC Date: Fri, 9 Nov 2012 21:36:15 +0530 Message-ID: <1352477176-6673-3-git-send-email-balajitk@ti.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1352477176-6673-1-git-send-email-balajitk@ti.com> References: <20121109145218.GA10873@arwen.pp.htv.fi> <1352477176-6673-1-git-send-email-balajitk@ti.com> MIME-Version: 1.0 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Avoid soft reset of command internal state machine on data errors. Signed-off-by: Balaji T K Reviewed-by: Felipe Balbi --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 245d7b5..d931e08 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -971,8 +971,8 @@ static inline void omap_hsmmc_reset_controller_fsm(struct omap_hsmmc_host *host, static void hsmmc_command_incomplete(struct omap_hsmmc_host *host, int err, int end_cmd) { - omap_hsmmc_reset_controller_fsm(host, SRC); if (end_cmd) { + omap_hsmmc_reset_controller_fsm(host, SRC); if (host->cmd) host->cmd->error = err; }