diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2022-07-29 13:47:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-30 13:26:01 +0200 |
commit | a17fa1216c23bf28819bb957f71f1bab914ba9a8 (patch) | |
tree | 660b27612ad0853b2f1b27d2c1ba752a79bf9ab2 /Documentation/devicetree/bindings/hsi | |
parent | tty: xilinx_uartps: Prevent writes when the controller is disabled (diff) | |
download | linux-a17fa1216c23bf28819bb957f71f1bab914ba9a8.tar.xz linux-a17fa1216c23bf28819bb957f71f1bab914ba9a8.zip |
tty: xilinx_uartps: Add timeout waiting for loop
There is a potential infinite loop while waiting for the
the TXFULL to deassert. Adds the error message and timeout to
avoid infinite loop if it fails to get the TX fifo not full.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20220729114748.18332-7-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/hsi')
0 files changed, 0 insertions, 0 deletions