commit | 412cb87d28a1f299ee82fe1c8bfe6cbeec9a4655 | [log] [tgz] |
---|---|---|
author | Seung-Woo Kim <sw0312.kim@samsung.com> | Mon May 20 23:47:29 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Jun 03 15:30:30 2013 -0300 |
tree | c1500573ff40e079f44966edc1b83439b05e3a35 | |
parent | e9d98ddc0a4e4e11603c818bf234644031bff384 [diff] |
[media] media: vb2: return for polling if a buffer is available The vb2_poll() does not need to wait next vb_buffer_done() if there is already a buffer in done_list of queue, but current vb2_poll() always waits. So done_list is checked before calling poll_wait(). Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>