From patchwork Thu Feb 17 07:12:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 569401 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p1H7Mv4p031430 for ; Thu, 17 Feb 2011 07:23:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751400Ab1BQHWy (ORCPT ); Thu, 17 Feb 2011 02:22:54 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:45119 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160Ab1BQHWx (ORCPT ); Thu, 17 Feb 2011 02:22:53 -0500 Received: from epmmp1 (mailout4.samsung.com [203.254.224.34]) by mailout4.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LGR00CMU2PSIU10@mailout4.samsung.com> for linux-mmc@vger.kernel.org; Thu, 17 Feb 2011 16:13:04 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp1.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LGR005ZD2PSJM@mmp1.samsung.com> for linux-mmc@vger.kernel.org; Thu, 17 Feb 2011 16:13:04 +0900 (KST) Received: from [165.213.219.108] ([165.213.219.108]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Thu, 17 Feb 2011 16:13:04 +0900 Date: Thu, 17 Feb 2011 16:12:38 +0900 From: Jaehoon Chung Subject: [PATCH] dw_mmc: support 8-bit buswidth To: "linux-mmc@vger.kernel.org" Cc: Will Newton , Chris Ball , Kyungmin Park Message-id: <4D5CCA66.9080008@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 2.0.0.24 (X11/20100317) X-OriginalArrivalTime: 17 Feb 2011 07:13:04.0696 (UTC) FILETIME=[1EB4F380:01CBCE72] Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 17 Feb 2011 07:23:21 +0000 (UTC) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 2fcc825..0f6e4a5 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -672,6 +672,9 @@ static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) case MMC_BUS_WIDTH_4: slot->ctype = SDMMC_CTYPE_4BIT; break; + case MMC_BUS_WIDTH_8: + slot->ctype = SDMMC_CTYPE_8BIT; + break; } if (ios->clock) {