2009/4/4 Oliver Neukum <oliver@xxxxxxxxxx>: > Am Samstag 04 April 2009 10:55:23 schrieb Hal Murray: >> tom.leiming@xxxxxxxxx said: >> > IMO, the deadlock is caused by mutex_lock(&port->serial->disc_mutex) >> > (called in garmin_close() and usb_serial_disconnect() ). The garmin >> > usb_driver doesn't define .pre_reset and .post_reset, so >> > usb_reset_devie() will unbound garmin usb_driver before doing bus >> > reset, which makes .disconnect() called, then deadlock happens. > > Alan, > > this looks like a generic problem to me. Any suggestions? What is the generic problem for you? It seems usb driver seldom reset device when holding a disconnect lock. Thanks! > > Regards > Oliver > > -- Lei Ming -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html