lkml.org 
[lkml]   [2009]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] enable CONFIG_USB_SUSPEND by default
    Some USB devices need to be put into suspend mode before
    unplugging. Without CONFIG_USB_SUSPEND we have no way to unplug them
    safely.

    Signed-off-by: Yan Li <elliot.li.tech@gmail.com>
    ---
    drivers/usb/core/Kconfig | 8 +++++---
    1 files changed, 5 insertions(+), 3 deletions(-)

    diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
    index e1759d1..457ee9d 100644
    --- a/drivers/usb/core/Kconfig
    +++ b/drivers/usb/core/Kconfig
    @@ -89,18 +89,20 @@ config USB_DYNAMIC_MINORS
    config USB_SUSPEND
    bool "USB selective suspend/resume and wakeup"
    depends on USB && PM
    + default y
    help
    If you say Y here, you can use driver calls or the sysfs
    "power/level" file to suspend or resume individual USB
    - peripherals and to enable or disable autosuspend (see
    - Documentation/usb/power-management.txt for more details).
    + peripherals and to enable or disable autosuspend. Some USB
    + devices need to be put into suspend mode before unplugging
    + (see Documentation/usb/power-management.txt for more details).

    Also, USB "remote wakeup" signaling is supported, whereby some
    USB devices (like keyboards and network adapters) can wake up
    their parent hub. That wakeup cascades up the USB tree, and
    could wake the system from states like suspend-to-RAM.

    - If you are unsure about this, say N here.
    + If you are unsure about this, say Y here.

    config USB_OTG
    bool
    --
    1.5.6.5

    --
    Li, Yan


    \
     
     \ /
      Last update: 2009-01-01 17:09    [W:0.022 / U:65.012 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site