Commit cde1d53c authored by Wesley Cheng's avatar Wesley Cheng Committed by Todd Kjos
Browse files

FROMGIT: usb: gadget: udc: core: Revise comments for USB ep enable/disable



The usb_ep_disable() and usb_ep_enable() routines are being widely
used in atomic/interrupt context by function drivers.  Hence, the
statement about it being able to only run in process context may
not be true.  Add an explicit comment mentioning that it can be used
in atomic context.

Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>

Bug: 204343836
(cherry picked from commit b0d5d2a7
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

 usb-testing)
Change-Id: I1adb5d074fe2f9e33ebfdb30d335283c56bc7b39
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
parent e35a305d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment