linux/drivers/staging/sb105x
Dan Carpenter c803dd48f0 staging: sb105x: clean up interface type test
IIR_RS232 is zero so "if (IIR_RS232 == (b_ret & IIR_RS232))" is always
true so RS232 was always chosen by default.  The test should be
"if (0 == (b_ret & 0x30)) { ".  The other tests should also be in that
format.

This does change how the code works...  If 0x30 is set then it now
defaults to RS232 instead of RS485.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 16:43:20 -08:00
..
Kconfig staging: Make SystemBase PCI Multiport UART only for x86 2013-01-07 09:32:45 -08:00
Makefile staging: Add SystemBase Multi-2/PCI driver 2012-11-16 06:58:09 -08:00
sb_mp_register.h staging: sb105x: clean up interface type test 2013-01-17 16:43:20 -08:00
sb_pci_mp.c staging: sb105x: clean up interface type test 2013-01-17 16:43:20 -08:00
sb_pci_mp.h staging: Add SystemBase Multi-2/PCI driver 2012-11-16 06:58:09 -08:00
sb_ser_core.h staging: Add SystemBase Multi-2/PCI driver 2012-11-16 06:58:09 -08:00