summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorElson Roy Serrao <quic_eserrao@quicinc.com>2023-03-25 00:48:01 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-29 11:27:01 +0300
commit481c225c4802be62e52aabddae5338ed1705b232 (patch)
tree46f608a46ac3bf481e8ae6de5989972df71f0965 /scripts
parent92c08a84b53e5dd1f2150e870db2ae9e5a5459e1 (diff)
downloadlinux-481c225c4802be62e52aabddae5338ed1705b232.tar.xz
usb: gadget: Handle function suspend feature selector
When host sends function suspend feature selector to the device, inspect the received packet and trigger function suspend or function resume accordingly. Inspect the remote wakeup bit and arm the function for remote wakeup if it is wakeup capable. Also host queries the function wakeup capability through a get status request before sending function resume. Handle such requests in composite layer. Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com> Reviewed-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/1679694482-16430-6-git-send-email-quic_eserrao@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions