diff options
author | Johan Hovold <[email protected]> | 2020-01-22 11:15:27 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2020-01-23 09:11:16 +0100 |
commit | 17a0184ca17e288decdca8b2841531e34d49285f (patch) | |
tree | 6961885e31ffd475a9f1f52bc8d387c4e4569d84 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 2988a8ae7476fe9535ab620320790d1714bdad1d (diff) |
USB: serial: ir-usb: fix link-speed handling
Commit e0d795e4f36c ("usb: irda: cleanup on ir-usb module") added a USB
IrDA header with common defines, but mistakingly switched to using the
class-descriptor baud-rate bitmask values for the outbound header.
This broke link-speed handling for rates above 9600 baud, but a device
would also be able to operate at the default 9600 baud until a
link-speed request was issued (e.g. using the TCGETS ioctl).
Fixes: e0d795e4f36c ("usb: irda: cleanup on ir-usb module")
Cc: stable <[email protected]> # 2.6.27
Cc: Felipe Balbi <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions