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

Commit 0d6396df authored by Arun Menon's avatar Arun Menon
Browse files

msm: vidc: Do not power off Venus if already powered off



If the driver tries to unload the firmware after it has
gone in to power collapse, there is no check in the power_off
function to see if it's already powered off or not. Hence
we would end up disabling the regulators and clocks again,
thereby messing up the regulator count and also disable the
irq, without enabling it. This will impact subsequent video
sessions and might need a device restart to fix things.

Change-Id: Icffa7e53d358beb34df85b0184c9f526910f8220
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent 8ae65e26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment