commit | a916738f57b1997fadecedd8c938aea3562bd609 | [log] [tgz] |
---|---|---|
author | Karthikeyan Periasamy <kperiasa@codeaurora.org> | Wed Jan 25 10:42:21 2017 -0800 |
committer | Sanjay Singh <sisanj@codeaurora.org> | Wed Apr 26 13:38:18 2017 +0530 |
tree | 851adbfa81cc367468113065f5d0188207f4c02d | |
parent | be8de4353c7ac12047ae82a557e393bdd047d1f5 [diff] |
mm-video-v4l2: create pthread with valid file descriptors pthread_thread is getting called irrespective of whether we get valid fds or not. In some cases, we get invalid fds and the FD_SET fails. Check the fds and create pthread only when the fds are valid. CRs-Fixed: 1114254 Change-Id: I0cdff7ef9f68b43c8fccd5f7e8c51735cdc22be2