From patchwork Fri Sep 21 03:07:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Liu X-Patchwork-Id: 1489111 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 57A8DDF28C for ; Fri, 21 Sep 2012 03:12:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932686Ab2IUDMi (ORCPT ); Thu, 20 Sep 2012 23:12:38 -0400 Received: from na3sys009aog104.obsmtp.com ([74.125.149.73]:44293 "EHLO na3sys009aog104.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932414Ab2IUDMh (ORCPT ); Thu, 20 Sep 2012 23:12:37 -0400 Received: from MSI-MTA.marvell.com ([65.219.4.132]) (using TLSv1) by na3sys009aob104.postini.com ([74.125.148.12]) with SMTP ID DSNKUFvbIIhG2arOHs4loL5LbE+BR6BGGLL2@postini.com; Thu, 20 Sep 2012 20:12:37 PDT Received: from maili.marvell.com ([10.68.76.210]) by MSI-MTA.marvell.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 20 Sep 2012 20:12:19 -0700 Received: from localhost.localdomain (unknown [10.38.36.240]) by maili.marvell.com (Postfix) with ESMTP id 49E8C4E517; Thu, 20 Sep 2012 20:12:18 -0700 (PDT) From: Kevin Liu To: linux-mmc@vger.kernel.org, cjb@laptop.org, pierre@ossman.eu, ulf.hansson@linaro.org Cc: hzhuang1@marvell.com, cxie4@marvell.com, prakity@marvell.com, kliu5@marvell.com Subject: [RFC/PATCH v2 1/3] mmc: sdio: correct the name of SDIO_CCCR_IF[5] to avoid confusion Date: Fri, 21 Sep 2012 11:07:45 +0800 Message-Id: <1348196867-15145-2-git-send-email-keyuan.liu@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1348196867-15145-1-git-send-email-keyuan.liu@gmail.com> References: <1348196867-15145-1-git-send-email-keyuan.liu@gmail.com> X-OriginalArrivalTime: 21 Sep 2012 03:12:19.0516 (UTC) FILETIME=[E91FE7C0:01CD97A6] Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Kevin Liu SDIO_CCCR_IF[5] should be ECSI rather than ASYNC_INT Signed-off-by: Kevin Liu --- drivers/mmc/core/sdio.c | 2 +- include/linux/mmc/sdio.h | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index d4619e2..909c835 100644 --- a/drivers/mmc/core/sdio.c +++ b/drivers/mmc/core/sdio.c @@ -279,7 +279,7 @@ static int sdio_disable_wide(struct mmc_card *card) return 0; ctrl &= ~SDIO_BUS_WIDTH_4BIT; - ctrl |= SDIO_BUS_ASYNC_INT; + ctrl |= SDIO_BUS_ECSI; ret = mmc_io_rw_direct(card, 1, 0, SDIO_CCCR_IF, ctrl, NULL); if (ret) diff --git a/include/linux/mmc/sdio.h b/include/linux/mmc/sdio.h index 17446d3..47e579d 100644 --- a/include/linux/mmc/sdio.h +++ b/include/linux/mmc/sdio.h @@ -105,8 +105,6 @@ #define SDIO_BUS_ECSI 0x20 /* Enable continuous SPI interrupt */ #define SDIO_BUS_SCSI 0x40 /* Support continuous SPI interrupt */ -#define SDIO_BUS_ASYNC_INT 0x20 - #define SDIO_BUS_CD_DISABLE 0x80 /* disable pull-up on DAT3 (pin 1) */ #define SDIO_CCCR_CAPS 0x08