]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r257206:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Oct 2013 08:05:39 +0000 (08:05 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 30 Oct 2013 08:05:39 +0000 (08:05 +0000)
commitdac522c8ebc173f861e57c55bb3024017abc5631
treeb9220d064a5fe8ced2cbc27dffe864682eaa1173
parent0dd36e5e8181ce33cc1f522df1499d288728ab50
MFC r257206:
Fix a deadlock when trying to power off a USB device. The deadlock
happens because the code in question is trying to modify the parent
USB port registers outside the USB explore thread.

Approved by: re (glebius)

git-svn-id: svn://svn.freebsd.org/base/stable/10@257375 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/usb_dev.c
sys/dev/usb/usb_device.h
sys/dev/usb/usb_generic.c
sys/dev/usb/usb_hub.c