summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2022-07-29 14:47:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-30 14:26:01 +0300
commita17fa1216c23bf28819bb957f71f1bab914ba9a8 (patch)
tree660b27612ad0853b2f1b27d2c1ba752a79bf9ab2 /drivers/tty/serial/sccnxp.c
parentb36962896f00e164eb18093351f0b69d1b396964 (diff)
downloadlinux-a17fa1216c23bf28819bb957f71f1bab914ba9a8.tar.xz
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 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions