diff options
author | Li Lanzhe <[email protected]> | 2023-04-19 07:50:29 -0400 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-04-19 13:42:59 +0100 |
commit | 359f5b0d4e26b7a7bcc574d6148b31a17cefe47d (patch) | |
tree | 348844e01ebdfa7b0263ebb2ccdcc59decd52d39 /scripts/gdb/linux/utils.py | |
parent | e8d018dd0257f744ca50a729e3d042cf2ec9da65 (diff) |
spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
If devm_request_irq() fails, then we are directly return 'ret' without
clk_disable_unprepare(sfc->clk) and clk_disable_unprepare(sfc->hclk).
Fix this by changing direct return to a goto 'err_irq'.
Fixes: 0b89fc0a367e ("spi: rockchip-sfc: add rockchip serial flash controller")
Signed-off-by: Li Lanzhe <[email protected]>
Reviewed-by: Dongliang Mu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions