diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2013-05-21 06:47:29 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-03 22:30:30 +0400 |
commit | 412cb87d28a1f299ee82fe1c8bfe6cbeec9a4655 (patch) | |
tree | c1500573ff40e079f44966edc1b83439b05e3a35 /fs/inode.c | |
parent | e9d98ddc0a4e4e11603c818bf234644031bff384 (diff) | |
download | linux-412cb87d28a1f299ee82fe1c8bfe6cbeec9a4655.tar.xz |
[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>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions