boundarydevices/linux-imx6 — pull request #14 by IvanZuy (2014-11-06 07:23:08+00:00)
Title: mxc_poll bug fix. Return 0 if no frames captured.

.poll file operation should only return POLLIN | POLLRDNORM if frames are available for dequeuing otherwise it should return 0.
Returns POLLIN | POLLRDNORM without checking for available frames prevents userspace poll/select methods from sleeping waiting for file descriptor event.