OSDN Git Service

[media] DocBook: update ioctl error codes
authorAntti Palosaari <crope@iki.fi>
Wed, 15 Aug 2012 23:28:40 +0000 (20:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 Sep 2012 14:28:50 +0000 (11:28 -0300)
commit3a35c00b048ec368978cb497415c7a02f9200415
treeb355df639de495a2298d5d5fdb369d44a3738dd5
parent177ffe506cf8ab5d1d52e7af36871a70d8c22e90
[media] DocBook: update ioctl error codes

ENOTTY is now returned for unimplemented ioctl by dvb-frontend.
Old EOPNOTSUPP & ENOSYS could be still returned by some drivers
as well as other "non standard" error codes.

EAGAIN is returned in case of device is in state where it cannot
perform requested operation. This is for example sleep and statistics
are queried. Quick check for few demodulator drivers reveals there is
a lot of different error codes used in such case currently, few to
mention still: EOPNOTSUPP, ENOSYS, EAGAIN ... Lets try harmonize.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/DocBook/media/v4l/gen-errors.xml