We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d9a38 commit c2b3355Copy full SHA for c2b3355
drivers/usb/serial/cp210x.c
@@ -929,16 +929,9 @@ static void cp210x_set_termios(struct tty_struct *tty,
929
dev_dbg(dev, "%s - data bits = 7\n", __func__);
930
break;
931
case CS8:
932
- bits |= BITS_DATA_8;
933
- dev_dbg(dev, "%s - data bits = 8\n", __func__);
934
- break;
935
- /*case CS9:
936
- bits |= BITS_DATA_9;
937
- dev_dbg(dev, "%s - data bits = 9\n", __func__);
938
- break;*/
939
default:
940
- dev_dbg(dev, "cp210x driver does not support the number of bits requested, using 8 bit mode\n");
941
bits |= BITS_DATA_8;
+ dev_dbg(dev, "%s - data bits = 8\n", __func__);
942
943
}
944
if (cp210x_write_u16_reg(port, CP210X_SET_LINE_CTL, bits))
0 commit comments