commit | 591ae67eb0161b89d760d3e46e386bbb8b5f24a2 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenw@codeaurora.org> | Wed Oct 09 13:40:32 2013 -0700 |
committer | The Android Automerger <android-build@android.com> | Wed Oct 09 14:34:27 2013 -0700 |
tree | 79eb8fae8612d1e2bdd9591d5bd8d96329b63ab5 | |
parent | 05a378a46abd285c488e401a61726b6ca02b90f4 [diff] |
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. Adding Poll fd in asynchronous way i.e, POLL FD need not to wait for data_notify cb's to finish. Bug: 10998587 Change-Id: I574b25378639f5bc10b753af06b6d729261ee11d