Re: [PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

From: Michael Welling
Date: Mon Aug 04 2014 - 11:45:56 EST


On Mon, Aug 04, 2014 at 12:44:46PM +0300, Roger Quadros wrote:
> If user specifies that USB autosuspend must be disabled by module
> parameter "usbcore.autosuspend=-1" then we must prevent
> autosuspend of USB hub devices as well.
>
> commit 596d789a211d introduced in v3.8 changed the original behaivour
> and stopped respecting the usbcore.autosuspend parameter for hubs.
>
> Fixes: 596d789a211d "USB: set hub's default autosuspend delay as 0"
>
> Cc: [3.8+] <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Roger Quadros <rogerq@xxxxxx>

Tested-by: Michael Welling <mwelling@xxxxxxxxxxx>
--
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/