Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6134c96 authored by Rabin Vincent's avatar Rabin Vincent Committed by Dan Williams
Browse files

DMAENGINE: ste_dma40: fix clk_get failure path

parent f57b407c
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2636,7 +2636,7 @@ static struct d40_base * __init d40_hw_detect_init(struct platform_device *pdev)
	return base;
	return base;


failure:
failure:
	if (clk) {
	if (!IS_ERR(clk)) {
		clk_disable(clk);
		clk_disable(clk);
		clk_put(clk);
		clk_put(clk);
	}
	}