diff options
| author | Ahmed S. Darwish <[email protected]> | 2020-10-19 10:06:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-10-28 11:32:44 +0000 |
| commit | cce866155b5b96be83fa5ce8c7a56a1b0dd86cac (patch) | |
| tree | d12c7bc93ff7785a5b3984efedce103cf187a0cc /drivers/usb/core/buffer.c | |
| parent | USB: host: ehci-pmcmsp: Cleanup usb_hcd_msp_remove() (diff) | |
| download | kernel-cce866155b5b96be83fa5ce8c7a56a1b0dd86cac.tar.gz kernel-cce866155b5b96be83fa5ce8c7a56a1b0dd86cac.zip | |
usb: gadget: udc: Remove in_interrupt()/in_irq() from comments
The usage of in_irq()/in_interrupt() in drivers is phased out for various
reasons.
The context description for usb_gadget_giveback_request() is misleading as
in_interupt() means: hard interrupt or soft interrupt or bottom half
disabled regions. But it's also invoked from task context when endpoints
are torn down. Remove it as it's more confusing than helpful.
Replace also the in_irq() comment with plain text.
Signed-off-by: Ahmed S. Darwish <[email protected]>
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Alan Stern <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions
