summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/media/v4l/gen-errors.xml
Commit message (Collapse)AuthorAgeFilesLines
* [media] v4l2 core: return -ENOTTY if an ioctl doesn't existMauro Carvalho Chehab2011-07-271-7/+6
| | | | | | | | Currently, -EINVAL is used to return either when an IOCTL is not implemented, or if the ioctl was not implemented. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DocBook/dvb: Use generic descriptions for the frontend APIMauro Carvalho Chehab2011-07-271-5/+19
| | | | | | | | | Move generic stuff into gen-errors.xml, and remove them from DVB API. While here, removes two bogus error codes that aren't supported or used on Linux: EINTERNAL and ENOSIGNAL. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DocBook/demux.xml: Remove generic errorsMauro Carvalho Chehab2011-07-271-0/+5
| | | | | | | | Remove generic errors from ioctl() descriptions. For other ioctl's, there's no generic section. So, just keep whatever is there. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DocBook/audio.xml: Remove generic errorsMauro Carvalho Chehab2011-07-271-0/+4
| | | | | | | | | | Remove generic errors from ioctl() descriptions. For other ioctl's, there's no generic section. So, just keep whatever is there. Also remove the EINTERNAL error code, as no DVB driver returns it, and this error code is not defined on POSIX or on Linux. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DocBook: Remove V4L generic error description for ioctl()Mauro Carvalho Chehab2011-07-271-1/+9
| | | | | | | | | V4L ioctl function descripton also has a generic error chapter. Remove it, as it is now obsoleted by a general, multi-API generic error descriptions. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DocBook: Use the generic error code page also for MC APIMauro Carvalho Chehab2011-07-271-1/+15
| | | | | | | | | Instead of having their own generic error codes at the MC API, move its section to the generic one and be sure that all media ioctl's will point to it. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DocBook: Use the generic ioctl error codes for all V4L ioctl'sMauro Carvalho Chehab2011-07-271-1/+18
| | | | | | | | Be sure that all VIDIOC_* ioctl are using the return error macro, and aren't specifying generic error codes internally. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] DocBook: Add a chapter to describe media errorsMauro Carvalho Chehab2011-07-271-0/+17
There are several errors reported by V4L that aren't described. They can occur on almost all ioctl's. Instead of adding them into each ioctl, create a new chapter. For V4L, the new chapter will automatically be listed on all places, as there's a macro used everywhere there. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
OpenPOWER on IntegriCloud