From patchwork Tue Apr 5 14:50:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ohad Ben Cohen X-Patchwork-Id: 686961 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 p35Eow8c021733 for ; Tue, 5 Apr 2011 14:51:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753581Ab1DEOvJ (ORCPT ); Tue, 5 Apr 2011 10:51:09 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:42444 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753054Ab1DEOvI (ORCPT ); Tue, 5 Apr 2011 10:51:08 -0400 Received: by mail-fx0-f46.google.com with SMTP id 17so318856fxm.19 for ; Tue, 05 Apr 2011 07:51:08 -0700 (PDT) Received: by 10.223.55.78 with SMTP id t14mr1728454fag.43.1302015061720; Tue, 05 Apr 2011 07:51:01 -0700 (PDT) Received: from localhost.localdomain (109-186-51-37.bb.netvision.net.il [109.186.51.37]) by mx.google.com with ESMTPS id 21sm2120297fav.41.2011.04.05.07.50.59 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2011 07:51:00 -0700 (PDT) From: Ohad Ben-Cohen To: Cc: Chris Ball , Ohad Ben-Cohen Subject: [PATCH 2/2] mmc: quirks: wl1271 is MMC_QUIRK_NONSTD_FUNC_IF Date: Tue, 5 Apr 2011 17:50:15 +0300 Message-Id: <1302015015-8178-2-git-send-email-ohad@wizery.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1302015015-8178-1-git-send-email-ohad@wizery.com> References: <1302015015-8178-1-git-send-email-ohad@wizery.com> 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]); Tue, 05 Apr 2011 14:51:41 +0000 (UTC) Tell SDIO core to ignore the standard SDIO function interface codes indicated by the wl1271. This is required because the wl1271 erroneously indicates its first function as a standard Bluetooth SDIO interface, and that drives btsdio mad. Signed-off-by: Ohad Ben-Cohen --- drivers/mmc/core/quirks.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/core/quirks.c b/drivers/mmc/core/quirks.c index 11118b7..1957398 100644 --- a/drivers/mmc/core/quirks.c +++ b/drivers/mmc/core/quirks.c @@ -64,6 +64,8 @@ static const struct mmc_fixup mmc_fixup_methods[] = { add_quirk_for_sdio_devices, MMC_QUIRK_BROKEN_CLK_GATING }, { SDIO_VENDOR_ID_TI, SDIO_DEVICE_ID_TI_WL1271, remove_quirk, MMC_QUIRK_BROKEN_CLK_GATING }, + { SDIO_VENDOR_ID_TI, SDIO_DEVICE_ID_TI_WL1271, + add_quirk, MMC_QUIRK_NONSTD_FUNC_IF }, { 0 } };