From: Julius Werner Date: Tue, 23 Apr 2013 23:46:30 +0000 (-0700) Subject: Revert "CHROMIUM: Disable USB persist system-wide by default." X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Flinux.git;a=commitdiff_plain;h=7e1da659a573f5fb6ace37597355cbf51bc02e30 Revert "CHROMIUM: Disable USB persist system-wide by default." This reverts commit c3d39c8b090f77d253ef70a6bc747e3bd095347c. Turns out the Kconfig version of this change did get picked up by gregkh upstream after all. So we can revert this and roll with the upstream version instead. BUG=None TEST=None Change-Id: I96f74c914c75bd3c9b8a7cde0d682de157ee3e10 Signed-off-by: Julius Werner Reviewed-on: https://gerrit.chromium.org/gerrit/49014 Reviewed-by: Vincent Palatin Reviewed-by: Sameer Nanda --- diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index 6672a2d98318..4c65eb6a867a 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -179,8 +179,8 @@ void usb_detect_quirks(struct usb_device *udev) dev_dbg(&udev->dev, "USB quirks for this device: %x\n", udev->quirks); - /* ChromeOS does not use persist to decrease kernel resume time */ -#if 1 /* was: 0 */ /* was: #ifdef CONFIG_PM */ + /* For the present, all devices default to USB-PERSIST enabled */ +#if 0 /* was: #ifdef CONFIG_PM */ /* Hubs are automatically enabled for USB-PERSIST */ if (udev->descriptor.bDeviceClass == USB_CLASS_HUB) udev->persist_enabled = 1;