From patchwork Tue Mar 30 14:37:19 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkatraman S X-Patchwork-Id: 89327 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 o2UEbRBZ014424 for ; Tue, 30 Mar 2010 14:37:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755867Ab0C3Oh0 (ORCPT ); Tue, 30 Mar 2010 10:37:26 -0400 Received: from mail-pw0-f46.google.com ([209.85.160.46]:52398 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756202Ab0C3OhY (ORCPT ); Tue, 30 Mar 2010 10:37:24 -0400 Received: by pwi5 with SMTP id 5so7763652pwi.19 for ; Tue, 30 Mar 2010 07:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:received:message-id:subject:from:to:cc :content-type; bh=JsyB9v2997+VtKThwpQ5u69GMYNHD57ZzhtTN70N3qU=; b=q3L4sCGroiVWx6qPMQgZ/L1hvNCa4SC3r4CZdgE9NXfLDlmbKlNUdHks8ZQI1LM4w1 InjaGJUe0fM0aVW98Wv7nhLTQw74sDguXWuqo/0JTyc3m3KGZxUjqwsC4PZBCXowuhOD rLHTiyVXYo4sKpW2j3SOvWXka/+8fBhpsKCpg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; b=ROPjGfINgLt7hx4ILqlfeSDOHlD/vLSCxJ80YNZb2E16PMQkER+3VQfOY6A0/Sg0Ec FE/+pl0wuTHwhGrEuNB31z6U7gRdpQr+tpPGdh+esb50t8R4foFixnXHyhID2rXu2NA6 14MYuKgdQAt46LQ7aqYDWKIf5xdiUpf6YOORM= MIME-Version: 1.0 Received: by 10.231.166.202 with HTTP; Tue, 30 Mar 2010 07:37:19 -0700 (PDT) Date: Tue, 30 Mar 2010 20:07:19 +0530 X-Google-Sender-Auth: 3214c3349384a8b7 Received: by 10.115.113.6 with SMTP id q6mr4570455wam.165.1269959839567; Tue, 30 Mar 2010 07:37:19 -0700 (PDT) Message-ID: <618f0c911003300737w5562c18as1bfcb21671919718@mail.gmail.com> Subject: [PATCH]omap hsmmc: fix incorrect capability reporting From: Venkatraman S To: linux-mmc@vger.kernel.org, linux-omap@vger.kernel.org, kishore.kadiyala@ti.com Cc: Madhusudhan Chikkature 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]); Tue, 30 Mar 2010 14:37:28 +0000 (UTC) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 83f0aff..dbf83a6 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -2093,7 +2093,7 @@ static int __init omap_hsmmc_probe(struct platform_device *pdev) if (mmc_slot(host).wires >= 8) mmc->caps |= MMC_CAP_8_BIT_DATA; - else if (mmc_slot(host).wires >= 4) + if (mmc_slot(host).wires >= 4) mmc->caps |= MMC_CAP_4_BIT_DATA;