Skip to content

Commit

Permalink
Merge tag 'spi-fix-v6.3-rc7' of git://git.kernel.org/pub/scm/linux/ke…
Browse files Browse the repository at this point in the history
…rnel/git/broonie/spi

Pull spi fix from Mark Brown:
 "A small fix in the error handling for the rockchip driver, ensuring we
  don't leak clock enables if we fail to request the interrupt for the
  device"

* tag 'spi-fix-v6.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:
  spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
  • Loading branch information
torvalds committed Apr 19, 2023
2 parents 72b4fb4 + 359f5b0 commit 23990b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-rockchip-sfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ static int rockchip_sfc_probe(struct platform_device *pdev)
if (ret) {
dev_err(dev, "Failed to request irq\n");

return ret;
goto err_irq;
}

ret = rockchip_sfc_init(sfc);
Expand Down

0 comments on commit 23990b1

Please sign in to comment.