Re: Mutex deadlock from garmin_close in garmin_gps.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

	Regards
		Oliver

--
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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux