Inaky Perez-Gonzalez b9ee95010b wimax/i2400m: fix deadlock: don't do BUS reset under i2400m->init_mutex
Since the addition of the pre/post reset handlers, it became clear
that we cannot do a I2400M-RT-BUS type reset while holding the
init_mutex, as in the case of USB, it will deadlock when trying to
call i2400m_pre_reset().

Thus, the following changes:

 - clarify the fact that calling bus_reset() w/ I2400M_RT_BUS while
   holding init_mutex is a no-no.

 - i2400m_dev_reset_handle() will do a BUS reset to recover a gone
   device after unlocking init_mutex.

 - in the USB reset implementation, when cold and warm reset fails,
   fallback to QUEUING a usb reset, not executing a USB reset, so it
   happens from another context and does not deadlock.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
2009-10-19 15:56:18 +09:00
..
2009-09-22 07:17:27 -07:00
2009-10-04 15:05:10 -07:00
2009-08-15 12:58:45 +09:00
2009-10-04 15:05:10 -07:00
2009-10-04 15:05:10 -07:00
2009-10-07 01:10:46 -07:00
2009-10-04 15:05:10 -07:00
2009-09-24 07:21:05 -07:00
2009-10-04 15:05:10 -07:00
2009-09-23 07:39:43 -07:00
2009-08-26 20:06:52 -07:00
2009-09-24 21:22:33 +01:00
2009-10-17 23:57:24 -07:00
2009-09-23 11:35:41 -04:00
2009-10-04 15:05:10 -07:00
2009-09-23 22:26:32 +09:30
2009-10-04 22:53:41 +02:00
2009-10-04 15:05:10 -07:00
2009-09-23 10:07:49 -07:00