USB: serial: ir-usb: fix big-endian baud-rate debug printk
authorJohan Hovold <johan@kernel.org>
Thu, 11 May 2017 09:41:19 +0000 (11:41 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 15 May 2017 09:50:34 +0000 (11:50 +0200)
commitad0ccac76dcc92c3331f4c94c9fc54f8bf1ab20c
tree40212b074753f4d3f8534d49b6b9ac47896645d1
parentbb246681b3ed0967489a7401ad528c1aaa1a4c2e
USB: serial: ir-usb: fix big-endian baud-rate debug printk

Add missing endianness conversion when printing the supported baud
rates.

Found using sparse:

warning: restricted __le16 degrades to integer

Fixes: e0d795e4f36c ("usb: irda: cleanup on ir-usb module")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ir-usb.c