linux/drivers/usb/c67x00
Max Filippov 252d74f6a8 USB: c67x00: move URB private data allocation from under spinlock
This fixes the following warning:

  BUG: sleeping function called from invalid context at mm/slub.c:940
  in_atomic(): 1, irqs_disabled(): 1, pid: 17, name: khubd
  CPU: 0 PID: 17 Comm: khubd Not tainted 3.12.0-00004-g938dd60-dirty #1

   __might_sleep+0xbe/0xc0
   kmem_cache_alloc_trace+0x36/0x170
   c67x00_urb_enqueue+0x5c/0x254
   usb_hcd_submit_urb+0x66e/0x724
   usb_submit_urb+0x2ac/0x308
   usb_start_wait_urb+0x2c/0xb8
   usb_control_msg+0x8c/0xa8
   hub_port_init+0x191/0x718
   hub_thread+0x804/0xe14
   kthread+0x72/0x78
   ret_from_kernel_thread+0x8/0xc

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-07 16:15:39 -08:00
..
c67x00-drv.c USB: c67x00: use dev_get_platdata() 2013-07-31 17:28:44 -07:00
c67x00-hcd.c usb: hcd: move controller wakeup setting initialization to individual driver 2013-12-08 18:06:46 -08:00
c67x00-hcd.h Fix common misspellings 2011-03-31 11:26:23 -03:00
c67x00-ll-hpi.c USB: c67x00: add proper delays to HPI read/write 2014-01-07 16:15:39 -08:00
c67x00-sched.c USB: c67x00: move URB private data allocation from under spinlock 2014-01-07 16:15:39 -08:00
c67x00.h USB: add Cypress c67x00 OTG controller HCD driver 2008-05-02 10:25:57 -07:00
Makefile USB: c67x00: remove CONFIG_USB_DEBUG dependancy 2013-12-20 11:46:19 -08:00