From patchwork Wed Mar 31 06:07:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kishore kadiyala X-Patchwork-Id: 89889 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2V68BMv003639 for ; Wed, 31 Mar 2010 06:08:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932520Ab0CaGHv (ORCPT ); Wed, 31 Mar 2010 02:07:51 -0400 Received: from mail-fx0-f223.google.com ([209.85.220.223]:35318 "EHLO mail-fx0-f223.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932129Ab0CaGHt convert rfc822-to-8bit (ORCPT ); Wed, 31 Mar 2010 02:07:49 -0400 Received: by fxm23 with SMTP id 23so876784fxm.21 for ; Tue, 30 Mar 2010 23:07:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eFzZIlpiIs63zHFUedPb7asVt0SMfTr7Ga4QM3idLXY=; b=dL7BaBG0pz7U5r6T22Y8Ni8G5GUyxLfX0wjI+MNQZQ2DpvpEClQ4MN0IlAFlaY5qny LQm/9HLWtfCXONKt9nMnLs/1fNGDQIKE8MXTlZ0NjunDYJWafG+Q41T6mFVaIH4p65oX ipnjH+zF9MwHJzYJsxcxQFhSjIfrsH0qBRCRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OkIC9w+3CO9JV+6OFpI/o+SQO7DGxLw5bTvHNmwIF6Go6SClkI/zk3gjiPmFKo+NSf NV6V397XvxuFWwXZzxtXnkxIFmJBUClJzLVcGj8BXHG5Fm9C7IB4MydjbD3AmEsKnec/ xLv6eVHCdLe/GywEU4UCDSq5YnoBozeZAvsbE= MIME-Version: 1.0 Received: by 10.223.109.11 with HTTP; Tue, 30 Mar 2010 23:07:47 -0700 (PDT) In-Reply-To: <004701caab40$68b576e0$544ff780@am.dhcp.ti.com> References: <35697.192.168.10.89.1265898023.squirrel@dbdmail.itg.ti.com> <004701caab40$68b576e0$544ff780@am.dhcp.ti.com> Date: Wed, 31 Mar 2010 11:37:47 +0530 Received: by 10.223.5.2 with SMTP id 2mr7375530fat.93.1270015667703; Tue, 30 Mar 2010 23:07:47 -0700 (PDT) Message-ID: Subject: [PATCH-V2] OMAP: Fix for bus width which improves SD card's peformance. From: kishore kadiyala To: Madhusudhan Cc: tony@atomide.com, svenkatr@ti.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, jarkko.lavinen@nokia.com Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 31 Mar 2010 06:08:11 +0000 (UTC) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 83f0aff..8c97c22 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -2092,7 +2092,7 @@ static int __init omap_hsmmc_probe(struct MMC_CAP_WAIT_WHILE_BUSY; if (mmc_slot(host).wires >= 8) - mmc->caps |= MMC_CAP_8_BIT_DATA; + mmc->caps |= (MMC_CAP_8_BIT_DATA | MMC_CAP_4_BIT_DATA); else if (mmc_slot(host).wires >= 4) mmc->caps |= MMC_CAP_4_BIT_DATA;