]> git.baikalelectronics.ru Git - kernel.git/commit
usb: hub: allow to process more usb hub events in parallel
authorPetr Mladek <pmladek@suse.cz>
Fri, 19 Sep 2014 15:32:24 +0000 (17:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:33:19 +0000 (22:33 -0700)
commite04969c3c0d0cc67cf91540aa53f01fdf0d841b6
treeccb7df7cabe74a62e0bd707f7700f0e4efb5516e
parent120d0b2021878a6bc2ca08f98d0a67b05feb1ff8
usb: hub: allow to process more usb hub events in parallel

It seems that only choose_devnum() was not ready to process more hub
events at the same time.

All should be fine if we take bus->usb_address0_mutex there. It will
make sure that more devnums will not be chosen for the given bus and
the related devices at the same time.

Signed-off-by: Petr Mladek <pmladek@suse.cz>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c