msm: camera: Update mctl_handle only if notification is needed.
In concurrent camera usecase, a YUV camera could still use the
preview/video image modes just to queue the buffers. These
buffers will not be used to configure AXI, but will only be used
for the postprocessing pipleine. Since hardware is not 'aware'
of these buffers, there is no need to send any kind of notification
from the hardware directly. So detect this case, and avoid updating
the interface map table, which is used to lookup the mctl handle in
case of hardware notification. Otherwise, the valid mctl handle will
get overwritten which will impact camera functionality.
Change-Id: Ie78f606b15bc2b1c502ce2b259a137561df9ce68
Signed-off-by:
Kiran Kumar H N <hurlisal@codeaurora.org>
Loading
Please register or sign in to comment