Re: [PATCH] usb: fix breakage on systems without ACPI

From: Greg KH
Date: Wed May 16 2012 - 08:21:55 EST


On Wed, May 16, 2012 at 02:11:15PM +0200, Sasha Levin wrote:
> Commit da0af6e ("usb: Bind devices to ACPI devices when possible") really
> tries to force-bind devices even when impossible, unlike what it says in
> the subject.
>
> CONFIG_ACPI is not an indication that ACPI tables are actually present, nor
> is an indication that any USB relevant information is present in them. There
> is no reason to fail the creation of a USB bus if it can't bind it to
> ACPI device during initialization.
>
> On systems with CONFIG_ACPI set but without ACPI tables it would cause a
> boot panic.

Nice catch, sorry about that, I'll go queue this up.

greg k-h
--
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/