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

Skip to content
Commit 48a483df authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: eeprom: Correct free call for power settings



Currently memory for the power settings is allocated whenever
we receive an init packet in packet parser but that memory is
freed only during device close leading to repeated allocations.
This change ensures that we free the memory as soon as we power
down the device avoiding repeated allocations of memory.

Change-Id: I7fac6498c9403e8ae913dfc4f20f9aa8f0bdb999
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 82b9d1e2
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