[linux-usb-devel] deadlocks in using autopm interfaces

2007-02-12 Thread Oliver Neukum
Hi Alan, list, I am having trouble using the usb_autopm_get/put_interface. To wake a device on demand I need to use usb_autopm_get_interface(). However the driver needs to hold a lock while calling usb_autopm_put_interface(). The driver's suspend method in turn needs to take a lock to wait for

Re: [linux-usb-devel] deadlocks in using autopm interfaces

2007-02-12 Thread Alan Stern
On Mon, 12 Feb 2007, Oliver Neukum wrote: Hi Alan, list, I am having trouble using the usb_autopm_get/put_interface. To wake a device on demand I need to use usb_autopm_get_interface(). However the driver needs to hold a lock while calling usb_autopm_put_interface(). The driver's suspend