diff options
| author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:39:53 +0100 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:48:40 +0200 |
| commit | f6ecc79838308951913ac11952db45f1ca900307 (patch) | |
| tree | 9d5fd9711934a08f9e2d94bc9c62c06588a6506c /scripts | |
| parent | 56b167f21392b84965f845ab4e3ccb9bd6b6572c (diff) | |
USB: serial: mos7720: fix parallel probe
commit fde1faf872ed86d88e245191bc15a8e57368cd1c upstream.
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")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
