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

Commit 09c35f2f authored by Rajendra Nayak's avatar Rajendra Nayak Committed by Paul Walmsley
Browse files

OMAP2+: hwmod: Fix what _init_clock returns



_init_clock always returns 0 and does
not propogate the error (in case of failure)
back to the caller, causing _init_clocks to
fail silently.

Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
Acked-by: default avatarBenoît Cousson <b-cousson@ti.com>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent d73d65fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -926,7 +926,7 @@ static int _init_clocks(struct omap_hwmod *oh, void *data)
	if (!ret)
	if (!ret)
		oh->_state = _HWMOD_STATE_CLKS_INITED;
		oh->_state = _HWMOD_STATE_CLKS_INITED;


	return 0;
	return ret;
}
}


/**
/**