[media] vb2: vb2_poll() fix return values for file I/O mode
authorPawel Osciak <pawel@osciak.com>
Sun, 20 Mar 2011 21:17:34 +0000 (18:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:55:07 +0000 (04:55 -0300)
commit4ffabdb35ad59fdb8cb6ad3ff4733694ff0dfc35
tree36ad1bc445c2b52f6f98e98a3b964dc7503baffc
parent950720840f392075b19d902e5ca7806a17a562cb
[media] vb2: vb2_poll() fix return values for file I/O mode

poll() should be returning poll-specific error values, not E* errors.

Signed-off-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c