Re: Workqueue and kernel panic on device disconnect

2011-10-26 Thread Frank Schäfer
Am 25.10.2011 23:29, schrieb Frank Schäfer: > Hi, > > I'm trying to use a workqueue in a usb driver for polling the states > of the device buttons. > That works fine, but when I disconnect the device, the kernel > sometimes explodes. > The machine turns off immediately, without saving a backtrace

Workqueue and kernel panic on device disconnect

2011-10-25 Thread Frank Schäfer
Hi, I'm trying to use a workqueue in a usb driver for polling the states of the device buttons. That works fine, but when I disconnect the device, the kernel sometimes explodes. The machine turns off immediately, without saving a backtrace (I will try to make a photo tomorrow) The code: sta