Camera3: Add poll fd in QBUF as asynchronous call

Without this change, there is deadlock when both Data_notify and
Qbuf are coming at same time i.e, data_notify is waiting for buf_lock
mutex which acquired by qbuf and qbuf-> Add poll fd is waiting for
data_notify to finish.

Fix:
1) Adding Poll fd in asynchronous way i.e, POLL FD need not to wait for
data_notify cb's to finish.
2) Increase the Meta Data buffers to 18 to avoid the meta buffer starvation

Bug: 11053901
Bug: 11105095
Change-Id: I574b25378639f5bc10b753af06b6d729261ee11d
Signed-off-by: Ed Tam <etam@google.com>
6 files changed