diff options
author | Johan Hovold <johan@kernel.org> | 2019-11-05 11:36:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-07 11:16:48 +0100 |
commit | 79c36a704a87533ba1551170354f3fb507ff5b70 (patch) | |
tree | 36ac4163edf4d46010f4a0880828d4f58974aa43 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e76b3bf7654c3c94554c24ba15a3d105f4006c80 (diff) |
USB: idmouse: simplify disconnect handling
Since commit d4ead16f50f9 ("USB: prevent char device open/deregister
race") core prevents further calls to open() after usb_deregister_dev()
returns so there's no need to use the interface data for
synchronisation.
This effectively reverts commit 54d2bc068fd2 ("USB: fix locking in
idmouse") with respect to the open-disconnect race.
Note that the driver already uses a present flag to suppress I/O post
disconnect (even if all USB I/O take place at open).
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191105103638.4929-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions