Commit 585f6f50 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

[PATCH] USB: ttusb_dec.c: another case of GFP_KERNEL in interrupt

  - in interrupt usb_submit_urb must use GFP_ATOMIC
parent 3f16e892
...@@ -413,7 +413,7 @@ static void ttusb_dec_process_urb(struct urb *urb, struct pt_regs *ptregs) ...@@ -413,7 +413,7 @@ static void ttusb_dec_process_urb(struct urb *urb, struct pt_regs *ptregs)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
if (dec->iso_stream_count) if (dec->iso_stream_count)
usb_submit_urb(urb, GFP_KERNEL); usb_submit_urb(urb, GFP_ATOMIC);
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment