Loading
msm: camera: isp: Fix pip camera exit issue
During pip camera exit, iommu_detach is not called due to race
condition and incorrect state check. Add spin lock and proper
condition statement to make sure iommu_attach and iommu_detach
is called once during pip camera open and close respectively.
Change-Id: I5a02fea0659bca1a8742152694a96614a5adbbb8
Signed-off-by:
Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>