diff options
author | Johan Hovold <johan@kernel.org> | 2020-01-16 19:07:05 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-01-17 13:11:26 +0300 |
commit | fdb838efa31e1ed9a13ae6ad0b64e30fdbd00570 (patch) | |
tree | bee2c0a59c13b0541ca708db04de284c3fc64139 /scripts/gdb/linux/utils.py | |
parent | f3eaabbfd093c93d791eb930cc68d9b15246a65e (diff) | |
download | linux-fdb838efa31e1ed9a13ae6ad0b64e30fdbd00570.tar.xz |
USB: serial: suppress driver bind attributes
USB-serial drivers must not be unbound from their ports before the
corresponding USB driver is unbound from the parent interface so
suppress the bind and unbind attributes.
Unbinding a serial driver while it's port is open is a sure way to
trigger a crash as any driver state is released on unbind while port
hangup is handled on the parent USB interface level. Drivers for
multiport devices where ports share a resource such as an interrupt
endpoint also generally cannot handle individual ports going away.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable <stable@vger.kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions