media: dmx-fread.rst: specify how DMX_CHECK_CRC works
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 1 Sep 2017 16:30:16 +0000 (12:30 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 5 Sep 2017 10:18:28 +0000 (06:18 -0400)
In the past, the documentation used to say that, if a CRC error
was found, a "-ECRC" error would be returned. That's not true:
the DVB core will just silently ignore such errors.

So, add an explicit note about that.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/dvb/dmx-fread.rst

index cb6cedbb47f60bb35a4c0b5ee681315d82f016cc..36ba851bc0af82faa47033eef4d155ae2364eb51 100644 (file)
@@ -38,6 +38,13 @@ data. The filtered data is transferred from the driver’s internal
 circular buffer to buf. The maximum amount of data to be transferred is
 implied by count.
 
+.. note::
+
+   if a section filter created with
+   :c:type:`DMX_CHECK_CRC <dmx_sct_filter_params>` flag set,
+   data that fails on CRC check will be silently ignored.
+
+
 Return Value
 ------------