usb-host: claim port
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Aug 2011 11:34:17 +0000 (13:34 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 7 Sep 2011 07:58:12 +0000 (09:58 +0200)
commitdaf1077ee5469ebe32dcc14fc5c4cbe8676e84c7
tree2bb5ab75137086aa7be0f13fc642286f0122f88d
parentda301fc9a0a330da602e56f7eb00c47abd55949d
usb-host: claim port

When configured to pass through a specific host port (using hostbus and
hostport properties), try to claim the port if supported by the kernel.
That will avoid any kernel drivers binding to devices plugged into that
port.  It will not stop any userspace apps (such as usb_modeswitch)
access the device via usbfs though.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
trace-events
usb-linux.c