OpenCloudOS-Kernel/drivers/tty/serial/jsm
Ilpo Järvinen 2da6f1e5f7 serial: jsm: Use B0 instead of 0
Use B0 to check zero baudrate rather than literal 0.

While at it, remove extra parenthesis around CBAUD.

Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220513082906.11096-6-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-05-19 18:26:17 +02:00
..
Makefile tty: add SPDX identifiers to Kconfig and Makefiles 2019-04-04 18:48:43 +02:00
jsm.h tty: serial: Use the correct style for SPDX License Identifier 2020-03-07 09:52:01 +01:00
jsm_cls.c serial: jsm: Use B0 instead of 0 2022-05-19 18:26:17 +02:00
jsm_driver.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
jsm_neo.c serial: jsm: Use B0 instead of 0 2022-05-19 18:26:17 +02:00
jsm_tty.c tty: serial: jsm: fix two assignments in if conditions 2022-03-18 13:15:50 +01:00