Li Lanzhe 39eeb724c4 spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
[ Upstream commit 359f5b0d4e26b7a7bcc574d6148b31a17cefe47d ]

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 <u202212060@hust.edu.cn>
Reviewed-by: Dongliang Mu <dzm91@hust.edu.cn>
Link: https://lore.kernel.org/r/20230419115030.6029-1-u202212060@hust.edu.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-26 14:28:34 +02:00
..
2023-03-10 09:33:18 +01:00
2022-11-04 12:25:03 +00:00
2022-01-04 14:59:40 +00:00
2022-08-02 10:55:04 -07:00
2022-10-04 19:36:53 -07:00
2021-12-23 13:38:38 +00:00
2022-10-04 19:36:53 -07:00
2021-08-26 12:09:38 +01:00
2022-03-15 12:03:58 +00:00
2022-10-04 19:36:53 -07:00