Re: Mutex deadlock from garmin_close in garmin_gps.c

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

 



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.

> Maybe, attachment patch will fix your deadlock, which is against
> 2.6.29. 

Works for me.  Thanks.


-- 
These are my opinions, not necessarily my employer's.  I hate spam.



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