]> git.baikalelectronics.ru Git - kernel.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)
commited63236a3b15d13cec66b37d2506f05c10e83e96
tree29ec66c3dcacb81956e2daaa3c7073e9e0754977
parent7e1c58f08a80726a2df845c96deb698cef28ce94
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