]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: pl2303: fix the upper baud rate limit check for type_0/1 chips
authorFrank Schäfer <fschaefer.oss@googlemail.com>
Mon, 29 Jul 2013 16:33:22 +0000 (18:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Jul 2013 18:14:16 +0000 (11:14 -0700)
commit9ceea89b9079838e3933f4ede6a3d869f2250b15
tree8ea0336ffd3ade3ff64b39ea4a2da97632f2d595
parent41b3132c2f25cc6844734c1a096400b08593bebb
USB: serial: pl2303: fix the upper baud rate limit check for type_0/1 chips

Fixes the following regression that has been introduced recently with
commit c6175a7318:
With type_0 and type_1 chips
- all baud rates < 1228800 baud are rounded up to 1228800 baud
- the device silently runs at 9600 baud for all baud rates > 1228800
  baud

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/pl2303.c