]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: serial: belkin_sa: Various needed fixes
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 22 Jun 2007 13:40:18 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:37 +0000 (16:34 -0700)
commit9a8baec77205dfe14f98a4e291c830a311125a8b
tree29ec66c3dcacb81956e2daaa3c7073e9e0754977
parent568c24adeaa4d9ec2fd04c6ae226eeb673a385db
USB: serial: belkin_sa: Various needed fixes

Use the baud rate stuff from the kernel don't parse CBAUD directly
Remove pointless and wrong 'no change' check

Could do with some good testing as well but again better than adding &&
BROKEN

(The use of BELKIN_SA_BAUD() might seem a bit odd but x/a = b and x/b =
a (rounded for integers)).

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/belkin_sa.c