QCamera3: Start data proc synchronization issue

There is no synchronization between sending
start data proc command and queuing the snapshot
buffer given by application for reprocess. This
sometimes leads to snapshot getting stuck since
the postproc input queue is not initalized by the
time we are trying to queue the snapshot buffer
for reprocess.

Fix: Changed sending start data proc to a
synchronous command to ensure buffer is queued only
after the dataproc queues have been initialized.

Bug: 28427118
Change-Id: Ibcd7fca0d0da423ef0570f9c7e3e2139ddc61c56
1 file changed