Files
twx-linux/drivers
Johan Hovold 4be0ae3d31 USB: serial: mct_u232: fix big-endian baud-rate handling
commit 26cede3436 upstream.

Drop erroneous cpu_to_le32 when setting the baud rate, something which
corrupted the divisor on big-endian hosts.

Found using sparse:

	warning: incorrect type in argument 1 (different base types)
	    expected unsigned int [unsigned] [usertype] val
	    got restricted __le32 [usertype] <noident>

Fixes: af2ac1a091 ("USB: serial mct_usb232: move DMA buffers to heap")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-By: Pete Zaitcev <zaitcev@yahoo.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-25 14:30:13 +02:00
..
…
…
2017-05-25 14:30:07 +02:00
…
…
…
…
…
…
…
…
…
…
2017-01-12 11:22:47 +01:00
2017-02-23 17:43:10 +01:00
…
…
…
…
…
…
2017-04-21 09:30:07 +02:00
…
…
…
…
…
…
…
2017-03-30 09:35:17 +02:00
…
…