android_kernel_samsung_a7y1.../include
Johan Hovold 028868d9d7 USB: serial: ir-usb: fix link-speed handling
commit 17a0184ca17e288decdca8b2841531e34d49285f upstream.

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 <stable@vger.kernel.org>     # 2.6.27
Cc: Felipe Balbi <balbi@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:45:27 +02:00
..
acpi
asm-generic rtc: cmos: ignore bogus century byte 2020-04-07 13:40:13 +02:00
clocksource
crypto
drm drm: mst: Fix query_payload ack reply struct 2020-04-07 13:20:02 +02:00
dt-bindings
keys
kvm
linux USB: serial: ir-usb: fix link-speed handling 2020-04-07 13:45:27 +02:00
math-emu math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning 2020-04-07 12:44:41 +02:00
media media: davinci/vpbe: array underflow in vpbe_enum_outputs() 2020-04-07 13:41:48 +02:00
memory
misc
net cfg80211/mac80211: make ieee80211_send_layer2_update a public function 2020-04-07 13:36:16 +02:00
pcmcia
ras
rdma
rxrpc
scsc
scsi scsi: target: iscsi: Wait for all commands to finish before freeing a session 2020-04-07 13:23:29 +02:00
sdp
soc
sound ASoC: Define a set of DAPM pre/post-up events 2020-04-07 08:07:42 +02:00
target
trace tracing: xen: Ordered comparison of function pointers 2020-04-07 13:45:00 +02:00
uapi netfilter: uapi: Avoid undefined left-shift in xt_sctp.h 2020-04-07 13:28:41 +02:00
video fbdev: Remove unused SH-Mobile HDMI driver 2020-04-07 12:31:27 +02:00
xen
Kbuild