From patchwork Thu Oct 28 14:49:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 287822 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 o9SEnRPM004647 for ; Thu, 28 Oct 2010 14:49:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933392Ab0J1Ot3 (ORCPT ); Thu, 28 Oct 2010 10:49:29 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:40525 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933376Ab0J1Ot2 (ORCPT ); Thu, 28 Oct 2010 10:49:28 -0400 Received: by gwj21 with SMTP id 21so1262821gwj.19 for ; Thu, 28 Oct 2010 07:49:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=P+iMOubNb8pIACry5nytWIWSbK+Qld4I5M0//MLlt9o=; b=h5pB2TL9+gRmQDfFZXzojNhUTlSng8BlD3teDNYnNYD4RxZQDWmg9nqLYSBkds51uJ lmVT+pvOM84Lyszuqf/uHrEFQnCYmd5/WlljcJcANwhkT5doODeF1uww5Aw1h6I4NOai NKOGVDJcu9V7GXFqkIyw6MDyrlj4LXNRBJi5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=C/9ypzoEykRIinZLAluhsoBrjVBqYzVvkyxdsz84VOr2mwogzok/1x1PjYH9wIZgPl YAqKT1ZOva5E5FsWI5FcE765YGceB+sN1sr5/w//v6MsE3P76nP1WUXkkYxWKLrIa6jJ TM0OU4V39QqzN8nWE/OVHr/ZIegI6sf5QyKpg= Received: by 10.204.102.197 with SMTP id h5mr1994069bko.24.1288277367026; Thu, 28 Oct 2010 07:49:27 -0700 (PDT) Received: from larrylap.lan ([65.28.92.85]) by mx.google.com with ESMTPS id p22sm7277533bkp.21.2010.10.28.07.49.23 (version=SSLv3 cipher=RC4-MD5); Thu, 28 Oct 2010 07:49:25 -0700 (PDT) Message-ID: <4CC98D85.20703@lwfinger.net> Date: Thu, 28 Oct 2010 09:49:41 -0500 From: Larry Finger User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100914 SUSE/3.0.8 Thunderbird/3.0.8 MIME-Version: 1.0 To: Arnd Hannemann CC: "linux-mmc@vger.kernel.org" , "linux-wireless@vger.kernel.org" Subject: Re: b43 sdio: WARNING: at drivers/mmc/core/core.c:237 mmc_wait_for_cmd References: <4CC874F4.5050908@arndnet.de> <4CC8CAAE.3040100@lwfinger.net> <4CC98892.7080000@arndnet.de> In-Reply-To: <4CC98892.7080000@arndnet.de> 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.3 (demeter1.kernel.org [140.211.167.41]); Thu, 28 Oct 2010 14:49:29 +0000 (UTC) Index: wireless-testing/drivers/net/wireless/b43/sdio.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/b43/sdio.c +++ wireless-testing/drivers/net/wireless/b43/sdio.c @@ -175,7 +175,9 @@ static void b43_sdio_remove(struct sdio_ struct b43_sdio *sdio = sdio_get_drvdata(func); ssb_bus_unregister(&sdio->ssb); + sdio_claim_host(func); sdio_disable_func(func); + sdio_release_host(func); kfree(sdio); sdio_set_drvdata(func, NULL); }