diff options
| author | Artem Lytkin <iprintercanon@gmail.com> | 2026-02-16 20:19:20 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-23 15:01:51 +0100 |
| commit | d1c2574d03cced16a9b363807b41d599285e3e60 (patch) | |
| tree | 54f38498ce9ad422e8b2ed2eb22adcfdd119e353 /tools/perf/scripts/python | |
| parent | d289635eb0f197ad22851e393cebd1e772ebdd89 (diff) | |
staging: most: dim2: check return value of clk_prepare_enable for PLL
The return value of clk_prepare_enable() for the PLL clock is not
checked, while the same call for the MLB clock is properly checked
earlier in the function. If clk_prepare_enable() fails, the driver
continues without the PLL clock enabled, leading to undefined
hardware behavior.
Add the missing error check and disable the MLB clock on failure to
keep the cleanup consistent with the rest of the function.
Signed-off-by: Artem Lytkin <iprintercanon@gmail.com>
Link: https://patch.msgid.link/20260216201921.1788-2-iprintercanon@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
