summaryrefslogtreecommitdiff
path: root/include/linux/parser.h
diff options
context:
space:
mode:
authorDanny Segal <dsegal@codeaurora.org>2014-07-09 15:14:49 +0300
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:02:43 -0700
commit4571803aa1530b3fdfae0e8b1ad0e5df4372d873 (patch)
tree0440487c7ee236ca8e77c6db41fadd56a926a896 /include/linux/parser.h
parent70ba8d2a946a2bbe736f97e3c3208fb39eaeef58 (diff)
usb: gadget: Fix Missing Function Wakeup notification sending on BAM wakeup
In Super-Speed mode, when the USB core wishes to issue remote wakeup due to new data arriving on the BAM to BAM path, it needs to send Function Wakeup notification to the USB host after the USB bus is resumed. However, the sending of this notification fails when the USB core needs to wake up from low-power mode, because the low-power mode exit is done asynchronously and the sending of the Function Wakeup notification can not be done until the USB bus is resumed. This patch fixes this issue by checking whether the USB bus is suspended, and if so, the sending Function Wakeup notification is delayed until the USB bus is resumed. Change-Id: I293476aaaf920b67fdbdf72a63524edc7a35750b Signed-off-by: Danny Segal <dsegal@codeaurora.org>
Diffstat (limited to 'include/linux/parser.h')
0 files changed, 0 insertions, 0 deletions