On Wed, Jul 18, 2018 at 02:24:57PM +0200, Johan Hovold wrote: > Older cp210x devices only support a fixed set of line speeds to which a > requested speed is mapped. Reimplement this mapping using a table > instead of a long if-else construct. > > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx> > --- > drivers/usb/serial/cp210x.c | 99 +++++++++++++++++++++---------------- > 1 file changed, 56 insertions(+), 43 deletions(-) Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html