diff options
| author | Shubhrajyoti Datta <[email protected]> | 2022-07-29 17:17:42 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-08-30 13:25:03 +0200 |
| commit | 957e8c047bf25bd24271ab049f06dc47f382973f (patch) | |
| tree | 4ed5d199020c66155b97550c8cf453041f05d37c /tools/perf/scripts/python | |
| parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions