]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf98fbcd41ecb375d1bd0ec14027e4acfc49730c1
treeb355df639de495a2298d5d5fdb369d44a3738dd5
parent4cbb446c2416d8c7e3b515e464fa123e5c26c31e
[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