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

Skip to content
Commit b9a482ba authored by Shankar Ravi's avatar Shankar Ravi Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: csiphy: Reset phy config count in phy release



If there are multiple phy streamOn, streamOff happening
in a session with the phy re-configured at each streamOn,
the phy config count won't be reset properly at release. As
a result, the phy config params won't be reset either and
will persist till the next session/acquire.

This change resets the config count if the acquire count
has already been reset i.e. all devices have been released.

Change-Id: I774e9ce60cedb5e6ebbdc51f923e60630e30fcd4
Signed-off-by: default avatarShankar Ravi <rshankar@codeaurora.org>
parent 63fb0c00
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