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

Skip to content
Commit 01a6fad1 authored by Gjorgji Rosikopulos's avatar Gjorgji Rosikopulos
Browse files

msm: camera: fd: Attach iommu dynamically



When iommu device is attached, iommu
framework will keep the regulator enabled.

We should not attach iommu if buffers are not
used. Move attach iommu from open to map
buffers, and detach iommu from release to
unmap buffers.

Change-Id: Ifdf56bd43f1e1f3b9077c6879063bc61b5b7d929
Signed-off-by: default avatarGjorgji Rosikopulos <grosik@codeaurora.org>
parent e92aa60f
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