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

Skip to content
Commit b28b8b8b authored by Sumukh Hallymysore Ravindra's avatar Sumukh Hallymysore Ravindra
Browse files

msm: synx: fix synx handle/s mapping to synx object



Multiple synx integer handles can me mapped to the same synx object
metadata (synx_table_row) due to sharing across processes. However,
the synx metadata has memory to save only single handle.
This results in failure to clean all the handles mapped to the synx
obj during clean up resulting in exhaustion of available handles for
future uses.
Change fixes this issue by saving the mapped synx handles in a list
and iterates the list to remove the hanldes during clean up.

Change-Id: Ia1aa791743f63dfd79804f235edd379623896727
Signed-off-by: default avatarSumukh Hallymysore Ravindra <shallymy@codeaurora.org>
parent fb6de081
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