aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-05 12:18:15 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:53:37 -0400
commitb424f60c5b728c27b0bd719a907847ad4c0e7e59 (patch)
tree17fd144c5ec01e443a6fd78758a64a4b01e3930d /Documentation
parent3de530f805c012d3b58ffdd10e43e3ec7790baa3 (diff)
[media] DocBook/audio.xml: Remove generic errors
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/DocBook/media/dvb/audio.xml309
-rw-r--r--Documentation/DocBook/media/v4l/gen-errors.xml4
2 files changed, 4 insertions, 309 deletions
diff --git a/Documentation/DocBook/media/dvb/audio.xml b/Documentation/DocBook/media/dvb/audio.xml
index 90e9b7fede65..d64386237207 100644
--- a/Documentation/DocBook/media/dvb/audio.xml
+++ b/Documentation/DocBook/media/dvb/audio.xml
@@ -230,13 +230,6 @@ and right.
230</entry> 230</entry>
231 </row><row><entry 231 </row><row><entry
232 align="char"> 232 align="char">
233<para>EINTERNAL</para>
234</entry><entry
235 align="char">
236<para>Internal error.</para>
237</entry>
238 </row><row><entry
239 align="char">
240<para>EBUSY</para> 233<para>EBUSY</para>
241</entry><entry 234</entry><entry
242 align="char"> 235 align="char">
@@ -392,21 +385,6 @@ role="subsection"><title>AUDIO_STOP</title>
392</entry> 385</entry>
393 </row></tbody></tgroup></informaltable> 386 </row></tbody></tgroup></informaltable>
394&return-value-dvb; 387&return-value-dvb;
395<informaltable><tgroup cols="2"><tbody><row><entry
396 align="char">
397<para>EBADF</para>
398</entry><entry
399 align="char">
400<para>fd is not a valid open file descriptor</para>
401</entry>
402 </row><row><entry
403 align="char">
404<para>EINTERNAL</para>
405</entry><entry
406 align="char">
407<para>Internal error.</para>
408</entry>
409 </row></tbody></tgroup></informaltable>
410 388
411</section><section id="AUDIO_PLAY" 389</section><section id="AUDIO_PLAY"
412role="subsection"><title>AUDIO_PLAY</title> 390role="subsection"><title>AUDIO_PLAY</title>
@@ -443,21 +421,6 @@ role="subsection"><title>AUDIO_PLAY</title>
443</entry> 421</entry>
444 </row></tbody></tgroup></informaltable> 422 </row></tbody></tgroup></informaltable>
445&return-value-dvb; 423&return-value-dvb;
446<informaltable><tgroup cols="2"><tbody><row><entry
447 align="char">
448<para>EBADF</para>
449</entry><entry
450 align="char">
451<para>fd is not a valid open file descriptor</para>
452</entry>
453 </row><row><entry
454 align="char">
455<para>EINTERNAL</para>
456</entry><entry
457 align="char">
458<para>Internal error.</para>
459</entry>
460 </row></tbody></tgroup></informaltable>
461 424
462</section><section id="AUDIO_PAUSE" 425</section><section id="AUDIO_PAUSE"
463role="subsection"><title>AUDIO_PAUSE</title> 426role="subsection"><title>AUDIO_PAUSE</title>
@@ -502,22 +465,6 @@ role="subsection"><title>AUDIO_PAUSE</title>
502</entry> 465</entry>
503 </row></tbody></tgroup></informaltable> 466 </row></tbody></tgroup></informaltable>
504&return-value-dvb; 467&return-value-dvb;
505<informaltable><tgroup cols="2"><tbody><row><entry
506 align="char">
507<para>EBADF</para>
508</entry><entry
509 align="char">
510<para>fd is not a valid open file descriptor.</para>
511</entry>
512 </row><row><entry
513 align="char">
514<para>EINTERNAL</para>
515</entry><entry
516 align="char">
517<para>Internal error.</para>
518</entry>
519 </row></tbody></tgroup></informaltable>
520
521 468
522</section><section id="AUDIO_CONTINUE" 469</section><section id="AUDIO_CONTINUE"
523role="subsection"><title>AUDIO_CONTINUE</title> 470role="subsection"><title>AUDIO_CONTINUE</title>
@@ -558,21 +505,6 @@ with AUDIO_PAUSE command.</para>
558</entry> 505</entry>
559 </row></tbody></tgroup></informaltable> 506 </row></tbody></tgroup></informaltable>
560&return-value-dvb; 507&return-value-dvb;
561<informaltable><tgroup cols="2"><tbody><row><entry
562 align="char">
563<para>EBADF</para>
564</entry><entry
565 align="char">
566<para>fd is not a valid open file descriptor.</para>
567</entry>
568 </row><row><entry
569 align="char">
570<para>EINTERNAL</para>
571</entry><entry
572 align="char">
573<para>Internal error.</para>
574</entry>
575 </row></tbody></tgroup></informaltable>
576 508
577</section><section id="AUDIO_SELECT_SOURCE" 509</section><section id="AUDIO_SELECT_SOURCE"
578role="subsection"><title>AUDIO_SELECT_SOURCE</title> 510role="subsection"><title>AUDIO_SELECT_SOURCE</title>
@@ -621,28 +553,6 @@ role="subsection"><title>AUDIO_SELECT_SOURCE</title>
621</entry> 553</entry>
622 </row></tbody></tgroup></informaltable> 554 </row></tbody></tgroup></informaltable>
623&return-value-dvb; 555&return-value-dvb;
624<informaltable><tgroup cols="2"><tbody><row><entry
625 align="char">
626<para>EBADF</para>
627</entry><entry
628 align="char">
629<para>fd is not a valid open file descriptor.</para>
630</entry>
631 </row><row><entry
632 align="char">
633<para>EINTERNAL</para>
634</entry><entry
635 align="char">
636<para>Internal error.</para>
637</entry>
638 </row><row><entry
639 align="char">
640<para>EINVAL</para>
641</entry><entry
642 align="char">
643<para>Illegal input parameter.</para>
644</entry>
645 </row></tbody></tgroup></informaltable>
646 556
647</section><section id="AUDIO_SET_MUTE" 557</section><section id="AUDIO_SET_MUTE"
648role="subsection"><title>AUDIO_SET_MUTE</title> 558role="subsection"><title>AUDIO_SET_MUTE</title>
@@ -699,28 +609,6 @@ role="subsection"><title>AUDIO_SET_MUTE</title>
699</entry> 609</entry>
700 </row></tbody></tgroup></informaltable> 610 </row></tbody></tgroup></informaltable>
701&return-value-dvb; 611&return-value-dvb;
702<informaltable><tgroup cols="2"><tbody><row><entry
703 align="char">
704<para>EBADF</para>
705</entry><entry
706 align="char">
707<para>fd is not a valid open file descriptor.</para>
708</entry>
709 </row><row><entry
710 align="char">
711<para>EINTERNAL</para>
712</entry><entry
713 align="char">
714<para>Internal error.</para>
715</entry>
716 </row><row><entry
717 align="char">
718<para>EINVAL</para>
719</entry><entry
720 align="char">
721<para>Illegal input parameter.</para>
722</entry>
723 </row></tbody></tgroup></informaltable>
724 612
725</section><section id="AUDIO_SET_AV_SYNC" 613</section><section id="AUDIO_SET_AV_SYNC"
726role="subsection"><title>AUDIO_SET_AV_SYNC</title> 614role="subsection"><title>AUDIO_SET_AV_SYNC</title>
@@ -777,28 +665,6 @@ role="subsection"><title>AUDIO_SET_AV_SYNC</title>
777</entry> 665</entry>
778 </row></tbody></tgroup></informaltable> 666 </row></tbody></tgroup></informaltable>
779&return-value-dvb; 667&return-value-dvb;
780<informaltable><tgroup cols="2"><tbody><row><entry
781 align="char">
782<para>EBADF</para>
783</entry><entry
784 align="char">
785<para>fd is not a valid open file descriptor.</para>
786</entry>
787 </row><row><entry
788 align="char">
789<para>EINTERNAL</para>
790</entry><entry
791 align="char">
792<para>Internal error.</para>
793</entry>
794 </row><row><entry
795 align="char">
796<para>EINVAL</para>
797</entry><entry
798 align="char">
799<para>Illegal input parameter.</para>
800</entry>
801 </row></tbody></tgroup></informaltable>
802 668
803</section><section id="AUDIO_SET_BYPASS_MODE" 669</section><section id="AUDIO_SET_BYPASS_MODE"
804role="subsection"><title>AUDIO_SET_BYPASS_MODE</title> 670role="subsection"><title>AUDIO_SET_BYPASS_MODE</title>
@@ -859,28 +725,6 @@ role="subsection"><title>AUDIO_SET_BYPASS_MODE</title>
859</entry> 725</entry>
860 </row></tbody></tgroup></informaltable> 726 </row></tbody></tgroup></informaltable>
861&return-value-dvb; 727&return-value-dvb;
862<informaltable><tgroup cols="2"><tbody><row><entry
863 align="char">
864<para>EBADF</para>
865</entry><entry
866 align="char">
867<para>fd is not a valid open file descriptor.</para>
868</entry>
869 </row><row><entry
870 align="char">
871<para>EINTERNAL</para>
872</entry><entry
873 align="char">
874<para>Internal error.</para>
875</entry>
876 </row><row><entry
877 align="char">
878<para>EINVAL</para>
879</entry><entry
880 align="char">
881<para>Illegal input parameter.</para>
882</entry>
883 </row></tbody></tgroup></informaltable>
884 728
885</section><section id="AUDIO_CHANNEL_SELECT" 729</section><section id="AUDIO_CHANNEL_SELECT"
886role="subsection"><title>AUDIO_CHANNEL_SELECT</title> 730role="subsection"><title>AUDIO_CHANNEL_SELECT</title>
@@ -927,28 +771,6 @@ role="subsection"><title>AUDIO_CHANNEL_SELECT</title>
927</entry> 771</entry>
928 </row></tbody></tgroup></informaltable> 772 </row></tbody></tgroup></informaltable>
929&return-value-dvb; 773&return-value-dvb;
930<informaltable><tgroup cols="2"><tbody><row><entry
931 align="char">
932<para>EBADF</para>
933</entry><entry
934 align="char">
935<para>fd is not a valid open file descriptor.</para>
936</entry>
937 </row><row><entry
938 align="char">
939<para>EINTERNAL</para>
940</entry><entry
941 align="char">
942<para>Internal error.</para>
943</entry>
944 </row><row><entry
945 align="char">
946<para>EINVAL</para>
947</entry><entry
948 align="char">
949<para>Illegal input parameter ch.</para>
950</entry>
951 </row></tbody></tgroup></informaltable>
952 774
953</section><section id="AUDIO_GET_STATUS" 775</section><section id="AUDIO_GET_STATUS"
954role="subsection"><title>AUDIO_GET_STATUS</title> 776role="subsection"><title>AUDIO_GET_STATUS</title>
@@ -994,28 +816,6 @@ role="subsection"><title>AUDIO_GET_STATUS</title>
994</entry> 816</entry>
995 </row></tbody></tgroup></informaltable> 817 </row></tbody></tgroup></informaltable>
996&return-value-dvb; 818&return-value-dvb;
997<informaltable><tgroup cols="2"><tbody><row><entry
998 align="char">
999<para>EBADF</para>
1000</entry><entry
1001 align="char">
1002<para>fd is not a valid open file descriptor.</para>
1003</entry>
1004 </row><row><entry
1005 align="char">
1006<para>EINTERNAL</para>
1007</entry><entry
1008 align="char">
1009<para>Internal error.</para>
1010</entry>
1011 </row><row><entry
1012 align="char">
1013<para>EFAULT</para>
1014</entry><entry
1015 align="char">
1016<para>status points to invalid address.</para>
1017</entry>
1018 </row></tbody></tgroup></informaltable>
1019 819
1020</section><section id="AUDIO_GET_CAPABILITIES" 820</section><section id="AUDIO_GET_CAPABILITIES"
1021role="subsection"><title>AUDIO_GET_CAPABILITIES</title> 821role="subsection"><title>AUDIO_GET_CAPABILITIES</title>
@@ -1061,28 +861,6 @@ role="subsection"><title>AUDIO_GET_CAPABILITIES</title>
1061</entry> 861</entry>
1062 </row></tbody></tgroup></informaltable> 862 </row></tbody></tgroup></informaltable>
1063&return-value-dvb; 863&return-value-dvb;
1064<informaltable><tgroup cols="2"><tbody><row><entry
1065 align="char">
1066<para>EBADF</para>
1067</entry><entry
1068 align="char">
1069<para>fd is not a valid open file descriptor.</para>
1070</entry>
1071 </row><row><entry
1072 align="char">
1073<para>EINTERNAL</para>
1074</entry><entry
1075 align="char">
1076<para>Internal error.</para>
1077</entry>
1078 </row><row><entry
1079 align="char">
1080<para>EFAULT</para>
1081</entry><entry
1082 align="char">
1083<para>cap points to an invalid address.</para>
1084</entry>
1085 </row></tbody></tgroup></informaltable>
1086 864
1087</section><section id="AUDIO_CLEAR_BUFFER" 865</section><section id="AUDIO_CLEAR_BUFFER"
1088role="subsection"><title>AUDIO_CLEAR_BUFFER</title> 866role="subsection"><title>AUDIO_CLEAR_BUFFER</title>
@@ -1119,21 +897,6 @@ role="subsection"><title>AUDIO_CLEAR_BUFFER</title>
1119</entry> 897</entry>
1120 </row></tbody></tgroup></informaltable> 898 </row></tbody></tgroup></informaltable>
1121&return-value-dvb; 899&return-value-dvb;
1122<informaltable><tgroup cols="2"><tbody><row><entry
1123 align="char">
1124<para>EBADF</para>
1125</entry><entry
1126 align="char">
1127<para>fd is not a valid open file descriptor.</para>
1128</entry>
1129 </row><row><entry
1130 align="char">
1131<para>EINTERNAL</para>
1132</entry><entry
1133 align="char">
1134<para>Internal error.</para>
1135</entry>
1136 </row></tbody></tgroup></informaltable>
1137 900
1138</section><section id="AUDIO_SET_ID" 901</section><section id="AUDIO_SET_ID"
1139role="subsection"><title>AUDIO_SET_ID</title> 902role="subsection"><title>AUDIO_SET_ID</title>
@@ -1182,28 +945,6 @@ role="subsection"><title>AUDIO_SET_ID</title>
1182</entry> 945</entry>
1183 </row></tbody></tgroup></informaltable> 946 </row></tbody></tgroup></informaltable>
1184&return-value-dvb; 947&return-value-dvb;
1185<informaltable><tgroup cols="2"><tbody><row><entry
1186 align="char">
1187<para>EBADF</para>
1188</entry><entry
1189 align="char">
1190<para>fd is not a valid open file descriptor.</para>
1191</entry>
1192 </row><row><entry
1193 align="char">
1194<para>EINTERNAL</para>
1195</entry><entry
1196 align="char">
1197<para>Internal error.</para>
1198</entry>
1199 </row><row><entry
1200 align="char">
1201<para>EINVAL</para>
1202</entry><entry
1203 align="char">
1204<para>Invalid sub-stream id.</para>
1205</entry>
1206 </row></tbody></tgroup></informaltable>
1207 948
1208</section><section id="AUDIO_SET_MIXER" 949</section><section id="AUDIO_SET_MIXER"
1209role="subsection"><title>AUDIO_SET_MIXER</title> 950role="subsection"><title>AUDIO_SET_MIXER</title>
@@ -1247,28 +988,6 @@ role="subsection"><title>AUDIO_SET_MIXER</title>
1247</entry> 988</entry>
1248 </row></tbody></tgroup></informaltable> 989 </row></tbody></tgroup></informaltable>
1249&return-value-dvb; 990&return-value-dvb;
1250<informaltable><tgroup cols="2"><tbody><row><entry
1251 align="char">
1252<para>EBADF</para>
1253</entry><entry
1254 align="char">
1255<para>fd is not a valid open file descriptor.</para>
1256</entry>
1257 </row><row><entry
1258 align="char">
1259<para>EINTERNAL</para>
1260</entry><entry
1261 align="char">
1262<para>Internal error.</para>
1263</entry>
1264 </row><row><entry
1265 align="char">
1266<para>EFAULT</para>
1267</entry><entry
1268 align="char">
1269<para>mix points to an invalid address.</para>
1270</entry>
1271 </row></tbody></tgroup></informaltable>
1272 991
1273</section><section id="AUDIO_SET_STREAMTYPE" 992</section><section id="AUDIO_SET_STREAMTYPE"
1274role="subsection"><title>AUDIO_SET_STREAMTYPE</title> 993role="subsection"><title>AUDIO_SET_STREAMTYPE</title>
@@ -1316,13 +1035,6 @@ role="subsection"><title>AUDIO_SET_STREAMTYPE</title>
1316&return-value-dvb; 1035&return-value-dvb;
1317<informaltable><tgroup cols="2"><tbody><row><entry 1036<informaltable><tgroup cols="2"><tbody><row><entry
1318 align="char"> 1037 align="char">
1319<para>EBADF</para>
1320</entry><entry
1321 align="char">
1322<para>fd is not a valid open file descriptor</para>
1323</entry>
1324 </row><row><entry
1325 align="char">
1326<para>EINVAL</para> 1038<para>EINVAL</para>
1327</entry><entry 1039</entry><entry
1328 align="char"> 1040 align="char">
@@ -1375,13 +1087,6 @@ role="subsection"><title>AUDIO_SET_EXT_ID</title>
1375&return-value-dvb; 1087&return-value-dvb;
1376<informaltable><tgroup cols="2"><tbody><row><entry 1088<informaltable><tgroup cols="2"><tbody><row><entry
1377 align="char"> 1089 align="char">
1378<para>EBADF</para>
1379</entry><entry
1380 align="char">
1381<para>fd is not a valid open file descriptor</para>
1382</entry>
1383 </row><row><entry
1384 align="char">
1385<para>EINVAL</para> 1090<para>EINVAL</para>
1386</entry><entry 1091</entry><entry
1387 align="char"> 1092 align="char">
@@ -1435,13 +1140,6 @@ role="subsection"><title>AUDIO_SET_ATTRIBUTES</title>
1435&return-value-dvb; 1140&return-value-dvb;
1436<informaltable><tgroup cols="2"><tbody><row><entry 1141<informaltable><tgroup cols="2"><tbody><row><entry
1437 align="char"> 1142 align="char">
1438<para>EBADF</para>
1439</entry><entry
1440 align="char">
1441<para>fd is not a valid open file descriptor</para>
1442</entry>
1443 </row><row><entry
1444 align="char">
1445<para>EINVAL</para> 1143<para>EINVAL</para>
1446</entry><entry 1144</entry><entry
1447 align="char"> 1145 align="char">
@@ -1495,13 +1193,6 @@ role="subsection"><title>AUDIO_SET_KARAOKE</title>
1495&return-value-dvb; 1193&return-value-dvb;
1496<informaltable><tgroup cols="2"><tbody><row><entry 1194<informaltable><tgroup cols="2"><tbody><row><entry
1497 align="char"> 1195 align="char">
1498<para>EBADF</para>
1499</entry><entry
1500 align="char">
1501<para>fd is not a valid open file descriptor</para>
1502</entry>
1503 </row><row><entry
1504 align="char">
1505<para>EINVAL</para> 1196<para>EINVAL</para>
1506</entry><entry 1197</entry><entry
1507 align="char"> 1198 align="char">
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml
index 4268c658652f..d970f080f88d 100644
--- a/Documentation/DocBook/media/v4l/gen-errors.xml
+++ b/Documentation/DocBook/media/v4l/gen-errors.xml
@@ -35,6 +35,10 @@
35 descriptor is not for a media device.</entry> 35 descriptor is not for a media device.</entry>
36 </row> 36 </row>
37 <row> 37 <row>
38 <entry>ENODEV</entry>
39 <entry>Device not found or was removed.</entry>
40 </row>
41 <row>
38 <entry>ENOMEM</entry> 42 <entry>ENOMEM</entry>
39 <entry>There's not enough memory to handle the desired operation.</entry> 43 <entry>There's not enough memory to handle the desired operation.</entry>
40 </row> 44 </row>