[RFT][PATCH] b43: fix logic in GPIO configuration

Rafał Miłecki zajec5 at gmail.com
Wed Mar 7 01:54:44 EST 2012


2012/3/7 Michael Büsch <m at bues.ch>:
> On Tue, 06 Mar 2012 23:55:08 +0100
> Hauke Mehrtens <hauke at hauke-m.de> wrote:
>
>> This patch did not helped fixing my problem. The ucode still takes over
>> the GPIOs of the buttons with firmware version 666.2. I am getting the
>> following messages:
>>
>> [   83.620000] b43-phy0: Loading firmware version 666.2 (2011-02-23
>> 01:15:07)
>> [   83.624000] Init value of B43_GPIO_CONTROL: 0x0
>
>
> I think this is caused by b43_gpio_cleanup. Can you try removing that function (or just returning early, for the time being.)

B43_GPIO_CONTROL is zero by default (after boot), so AFAIU setting it
back to zero in b43_gpio_cleanup shouldn't break anything.

-- 
Rafał



More information about the b43-dev mailing list