diff options
| author | 2017-01-03 16:39:53 +0100 | |
|---|---|---|
| committer | 2017-01-04 10:37:20 +0100 | |
| commit | fde1faf872ed86d88e245191bc15a8e57368cd1c (patch) | |
| tree | f8c2a8ae64f45c21be3fae46b267bb1152d8b0f5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | USB: serial: mos7720: fix parport use-after-free on probe errors (diff) | |
| download | linux-dev-fde1faf872ed86d88e245191bc15a8e57368cd1c.tar.xz linux-dev-fde1faf872ed86d88e245191bc15a8e57368cd1c.zip | |
USB: serial: mos7720: fix parallel probe
A static usb-serial-driver structure that is used to initialise the
interrupt URB was modified during probe depending on the currently
probed device type, something which could break a parallel probe of a
device of a different type.
Fix this up by overriding the default completion callback for MCS7715
devices in attach() instead. We may want to use two usb-serial driver
instances for the two types later.
Fixes: fb088e335d78 ("USB: serial: add support for serial port on the
moschip 7715")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions
