Re: [patch] ACPI toshiba: only register rfkill if bt is enabled

From: Arjan van de Ven
Date: Mon Dec 01 2008 - 14:39:12 EST


On Mon, 1 Dec 2008 11:30:52 -0800
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> This patch:
>
> On Wed, 29 Oct 2008 08:19:34 +0000
> Frederik Deweerdt <frederik.deweerdt@xxxxxxxx> wrote:
>
> > Register toshiba RFKill Switch only if bluetooth is enabled
>
> which is here:
> http://userweb.kernel.org/~akpm/mmotm/broken-out/acpi-toshiba-only-register-rfkill-if-bt-is-enabled.patch
>
> fixes a post-2.6.27 regression. It doesn't apply any more, due to the
> recent merge of this:
>
> commit e251fa12fb5713e722029341c03b2f48bcd7b7be
> Author: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> Date: Fri Nov 28 08:19:09 2008 -0800
>
> toshiba_acpi: close race in toshiba_acpi driver
>
> in linux-next.
>
> It is unclear to me whether these two patches fix the same bug, or
> different ones.
>

they fix the same symptom, but are both needed.
My patch fixes "if it goes wrong and init fails, don't oops", the mmotm
patch fixes "lets not make init fail for <this case>". If there's some
other reason the init fails, my patch is still needed.

--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/