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

Commit a8248552 authored by Shiju Mathew's avatar Shiju Mathew
Browse files

adv7481: Release CCI clocks and vreg during a probe failure



When driver probe fails, release CCI clocks and voltage
regulators so that the target can go to low power state.

CRs-Fixed: 1084079
Change-Id: Ic0581f3b8ebaed84d22f627d5ddd3dcb32dafb21
Signed-off-by: default avatarShiju Mathew <shijum@codeaurora.org>
parent 3c3215e3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2388,6 +2388,7 @@ err_media_entity:
	media_entity_cleanup(&sd->entity);

err_mem_free:
	adv7481_release_cci_clks(state);
	devm_kfree(&pdev->dev, state);

err: