aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorAhmed S. Darwish <[email protected]>2020-10-19 12:06:34 +0200
committerGreg Kroah-Hartman <[email protected]>2020-10-28 13:06:38 +0100
commit96eea5876eb01c35f6eda225f0cdc752a59b6615 (patch)
tree565e11771875228b9efd192b7f48f7ac97b9379b /scripts/gdb/linux/config.py
parent9ca9a2525ddff9618f16a0b880ccff74ffa703cf (diff)
usb: xhci: Remove in_interrupt() checks
The usage of in_interrupt() in drivers is phased out for various reasons. xhci_set_hc_event_deq() has an !in_interrupt() check which is pointless because the function is only invoked from xhci_mem_init() which is clearly task context as it does GFP_KERNEL allocations. Remove it. xhci_urb_enqueue() prints a debug message if an URB is submitted after the underlying hardware was suspended. But that warning is only issued when in_interrupt() is true, which makes no sense. Simply return -ESHUTDOWN and be done with it. Signed-off-by: Ahmed S. Darwish <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Mathias Nyman <[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 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions