OSDN Git Service

USB: Allow skipping device resume during system resume
authorHemant Kumar <hemantk@codeaurora.org>
Wed, 16 Nov 2016 03:10:42 +0000 (19:10 -0800)
committerHemant Kumar <hemantk@codeaurora.org>
Wed, 16 Nov 2016 18:58:00 +0000 (10:58 -0800)
commit7b553e1abd0af7770907081b4aab83d72043e1fd
tree505384a9005e2710d139c9da60bee83e3b7455c1
parent49ba0d0ad43d530f141ab3995cdd7d7c5e00230d
USB: Allow skipping device resume during system resume

This allows xHC to remain in low power mode and not
resume the bus when system wide resume happens.
Controller comes out of low power mode only when usb
device issues a remote wakeup or if there is a host
initiated bus resume.

Change-Id: I96cdcb9e3642906b4afa08d9bde07e123d9b3977
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
drivers/usb/core/driver.c
drivers/usb/host/xhci-plat.c
include/linux/usb.h