Re: [PATCHv4 11/12] usb: dwc2: check that the host work queue is valid

2014-09-12 Thread Bartlomiej Zolnierkiewicz
[ added linux-kernel ML to cc: ] Hi, On Tuesday, August 26, 2014 11:20:02 AM dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > The Host workqueue will not get initialized if the driver is configured for > peripheral mode only. Thus we need to check for wq_otg before calling > queue

[PATCHv4 11/12] usb: dwc2: check that the host work queue is valid

2014-08-26 Thread dinguyen
From: Dinh Nguyen The Host workqueue will not get initialized if the driver is configured for peripheral mode only. Thus we need to check for wq_otg before calling queue_work(). Signed-off-by: Dinh Nguyen Acked-by: Paul Zimmerman --- drivers/usb/dwc2/core_intr.c | 8 +--- 1 file changed,