]> git.baikalelectronics.ru Git - kernel.git/commit
tty: xilinx_uartps: Prevent writes when the controller is disabled
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Fri, 29 Jul 2022 11:47:46 +0000 (17:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Aug 2022 11:26:01 +0000 (13:26 +0200)
commitafd9c690d864d13ca9092672fa1ba3e4233c548c
treee9296ec73f1c8aec5377dcbdacbc552c3808d759
parentd4b05c61b2ffb01ab818de9a22257e535ce96fa3
tty: xilinx_uartps: Prevent writes when the controller is disabled

Prevent writing to the fifo if the controller is disabled.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20220729114748.18332-6-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c