summaryrefslogtreecommitdiff
path: root/init/do_mounts_md.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-03 15:39:53 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 10:39:16 (GMT)
commit1bd67e85edf1826afbc592028bce941e0425f2dc (patch)
tree7787bf4776cd10154380a0b2a6e27826ab6d04d3 /init/do_mounts_md.c
parent6ea44fb2183c6e4c4c7888e35498717f9d637c39 (diff)
downloadlinux-1bd67e85edf1826afbc592028bce941e0425f2dc.tar.xz
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/do_mounts_md.c')
0 files changed, 0 insertions, 0 deletions