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: Shiju Mathew <shijum@codeaurora.org>
This commit is contained in:
parent
c16c42a403
commit
ba7970cfcb
1 changed files with 1 additions and 0 deletions
|
@ -2389,6 +2389,7 @@ err_media_entity:
|
|||
media_entity_cleanup(&sd->entity);
|
||||
|
||||
err_mem_free:
|
||||
adv7481_release_cci_clks(state);
|
||||
devm_kfree(&pdev->dev, state);
|
||||
|
||||
err:
|
||||
|
|
Loading…
Add table
Reference in a new issue