diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> | 2022-07-29 13:47:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-30 13:26:01 +0200 |
commit | a000bafa61829d8c4d8219bc7d6918d907af91e5 (patch) | |
tree | 8b83e7b0d20cf46b024a270794bd7864a259e83f /Documentation/devicetree/bindings/hsi | |
parent | tty: xilinx_uartps: Add timeout waiting for loop (diff) | |
download | linux-a000bafa61829d8c4d8219bc7d6918d907af91e5.tar.xz linux-a000bafa61829d8c4d8219bc7d6918d907af91e5.zip |
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 'Documentation/devicetree/bindings/hsi')
0 files changed, 0 insertions, 0 deletions