aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>2022-07-29 17:17:42 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-30 13:25:03 +0200
commit957e8c047bf25bd24271ab049f06dc47f382973f (patch)
tree4ed5d199020c66155b97550c8cf453041f05d37c /tools/perf/scripts/python
parentLinux 6.0-rc1 (diff)
downloadlinux-957e8c047bf25bd24271ab049f06dc47f382973f.tar.gz
linux-957e8c047bf25bd24271ab049f06dc47f382973f.zip
tty: xilinx_uartps: Check clk_enable return value
If clocks are not enabled the register access may hang the system. Check for the clock enable return value and bail out if not enabled. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> Link: https://lore.kernel.org/r/20220729114748.18332-2-shubhrajyoti.datta@xilinx.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions