]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: 8250_dw: Comment possible corner cases in serial_out() implementation
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 17 Mar 2025 09:40:21 +0000 (11:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 15:05:27 +0000 (08:05 -0700)
commitbd8cad85561b8de36f099404c332bf3e3dbe90f5
treeca1f354320d22b63c357b20ee74a5788b8ce782b
parent067e95857021bb242099d6bd818e1c57a101802b
serial: 8250_dw: Comment possible corner cases in serial_out() implementation

8250 DesignWare driver uses a few custom implementations of the serial_out().
These implementations are carefully made to avoid infinite loops. But this is
not obvious from looking at the code. Comment the possible corner cases in
the respective functions.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250317094021.1201512-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c