summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/sccnxp.c
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2022-07-29 14:47:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-30 14:26:01 +0300
commita000bafa61829d8c4d8219bc7d6918d907af91e5 (patch)
tree8b83e7b0d20cf46b024a270794bd7864a259e83f /drivers/tty/serial/sccnxp.c
parenta17fa1216c23bf28819bb957f71f1bab914ba9a8 (diff)
downloadlinux-a000bafa61829d8c4d8219bc7d6918d907af91e5.tar.xz
tty: xilinx_uartps: Check the clk_enable return value
Check the clk_enable return value. If clocks are not enabled the register accesses could hang the system so error out instead. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Link: https://lore.kernel.org/r/20220729114748.18332-8-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