ChangeSet 1.808.2.23, 2002/10/28 11:55:09-08:00, greg@kroah.com [PATCH] USB: fix GFP flags for usb audio driver. diff -Nru a/drivers/usb/class/audio.c b/drivers/usb/class/audio.c --- a/drivers/usb/class/audio.c Mon Oct 28 13:51:56 2002 +++ b/drivers/usb/class/audio.c Mon Oct 28 13:51:56 2002 @@ -914,7 +914,7 @@ if (!usbin_retire_desc(u, urb) && u->flags & FLG_RUNNING && !usbin_prepare_desc(u, urb) && - (suret = usb_submit_urb(urb, GFP_KERNEL)) == 0) { + (suret = usb_submit_urb(urb, GFP_ATOMIC)) == 0) { u->flags |= mask; } else { u->flags &= ~(mask | FLG_RUNNING); @@ -980,7 +980,7 @@ if (!usbin_sync_retire_desc(u, urb) && u->flags & FLG_RUNNING && !usbin_sync_prepare_desc(u, urb) && - (suret = usb_submit_urb(urb, GFP_KERNEL)) == 0) { + (suret = usb_submit_urb(urb, GFP_ATOMIC)) == 0) { u->flags |= mask; } else { u->flags &= ~(mask | FLG_RUNNING); @@ -1274,7 +1274,7 @@ if (!usbout_retire_desc(u, urb) && u->flags & FLG_RUNNING && !usbout_prepare_desc(u, urb) && - (suret = usb_submit_urb(urb, GFP_KERNEL)) == 0) { + (suret = usb_submit_urb(urb, GFP_ATOMIC)) == 0) { u->flags |= mask; } else { u->flags &= ~(mask | FLG_RUNNING); @@ -1347,7 +1347,7 @@ if (!usbout_sync_retire_desc(u, urb) && u->flags & FLG_RUNNING && !usbout_sync_prepare_desc(u, urb) && - (suret = usb_submit_urb(urb, GFP_KERNEL)) == 0) { + (suret = usb_submit_urb(urb, GFP_ATOMIC)) == 0) { u->flags |= mask; } else { u->flags &= ~(mask | FLG_RUNNING);