DVB cleanups and documentation improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest37 patches 0 repliesNew
- v125 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- merged with a previous 6 patch series;
- added patches at the end adding support for nexted structs/enums.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/37 | media: dvb_frontend: only use kref after initializeddrivers/ | +21 | 0 replies | |
| 2/37 | media: stv0288: get rid of set_property boilerplatedrivers/ | +0 | 0 replies | |
| 3/37 | media: stv6110: get rid of a srate dead codedrivers/ | +0 | 0 replies | |
| 4/37 | media: friio-fe: get rid of set_property()drivers/ | +0 | 0 replies | |
| 5/37 | media: dvb_frontend: get rid of get_property() callbackdrivers/ drivers/ drivers/ | +1 | 0 replies | |
| 6/37 | media: dvb_frontend: get rid of set_property() callbackdrivers/ drivers/ | +0 | 0 replies | |
| 7/37 | media: dvb_frontend: cleanup dvb_frontend_ioctl_properties()drivers/ | +51 | 0 replies | |
| 8/37 | media: dvb_frontend: cleanup ioctl handling logicdrivers/ | +158 | 0 replies | |
| 9/37 | media: dvb_frontend: get rid of property cache's statedrivers/ drivers/ | +6 | 0 replies | |
| 10/37 | media: dvb_frontend.h: fix alignment at the cache propertiesdrivers/ | +5 | 0 replies | |
| 11/37 | media: dvb_frontend: better document the -EPERM conditiondrivers/ | +17 | 0 replies | |
| 12/37 | media: dvb_frontend: fix return values for FE_SET_PROPERTYDocumentation/ drivers/ include/ | +6 | 0 replies | |
| 13/37 | media: dvbdev: convert DVB device types into an enumdrivers/ drivers/ | +64 | 0 replies | |
| 14/37 | media: dvbdev: fully document its functionsdrivers/ | +78 | 0 replies | |
| 15/37 | media: dvb_frontend.h: improve kernel-doc markupsdrivers/ | +47 | 0 replies | |
| 16/37 | media: dtv-core.rst: add chapters and introductory tests for common partsDocumentation/ | +12 | 0 replies | |
| 17/37 | media: dtv-core.rst: split into multiple filesDocumentation/ Documentation/ Documentation/ +2 more | +579 | 0 replies | |
| 18/37 | media: dtv-demux.rst: minor markup improvementsDocumentation/ | +6 | 0 replies | |
| 19/37 | media: dvb_demux.h: add an enum for DMX_TYPE_* and documentdrivers/ | +12 | 0 replies | |
| 20/37 | media: dvb_demux.h: add an enum for DMX_STATE_* and documentdrivers/ | +18 | 0 replies | |
| 21/37 | media: dvb_demux.h: get rid of unused timer at struct dvb_demux_filterdrivers/ | +0 | 0 replies | |
| 22/37 | media: dvb_demux: mark a boolean field as suchdrivers/ drivers/ | +3 | 0 replies | |
| 23/37 | media: dvb_demux: dvb_demux_feed.pusi_seen is booleandrivers/ drivers/ drivers/ +1 more | +9 | 0 replies | |
| 24/37 | media: dvb_demux.h: get rid of DMX_FEED_ENTRY() macrodrivers/ | +0 | 0 replies | |
| 25/37 | media: dvb_demux: fix type of dvb_demux_feed.ts_typedrivers/ | +1 | 0 replies | |
| 26/37 | media: dvb_demux: document dvb_demux_filter and dvb_demux_feeddrivers/ | +47 | 0 replies | |
| 27/37 | media: dvb_frontend: dtv_property_process_set() cleanupsdrivers/ | +72 | 0 replies | |
| 28/37 | media: dvb_frontend: get rid of dtv_get_property_dump()drivers/ | +12 | 0 replies | |
| 29/37 | media: dvb_demux.h: document structs defined on itdrivers/ drivers/ | +50 | 0 replies | |
| 30/37 | media: dvb_demux.h: document functionsdrivers/ | +103 | 0 replies | |
| 31/37 | media: dmxdev.h: add kernel-doc markups for data types and functionsdrivers/ | +88 | 0 replies | |
| 32/37 | media: dtv-demux.rst: parse other demux headers with kernel-docDocumentation/ | +12 | 0 replies | |
| 33/37 | media: dvb-net.rst: document DVB network kAPI interfaceDocumentation/ Documentation/ Documentation/ +1 more | +38 | 0 replies | |
| 34/37 | media: dvb uAPI docs: get rid of examples sectionDocumentation/ | +6 | 0 replies | |
| 35/37 | media: dmxdev: use the newly nested kernel-doc supportdrivers/ | +18 | 0 replies | |
| 36/37 | media: dvb_demux: use the newly nested kernel-doc supportdrivers/ | +14 | 0 replies | |
| 37/37 | media: frontend: use the newly nested kernel-doc supportinclude/ | +17 | 0 replies |
Reviews trailers per patch
5 of 37 patches have a Reviewed-by or Acked-by.
| Patch | Shuah Khan | Michael Ira Krufky |
|---|---|---|
| 1/37 | ||
| 2/37 | ||
| 3/37 | ||
| 4/37 | ||
| 5/37 | R-b | |
| 6/37 | ||
| 7/37 | ||
| 8/37 | R-b | |
| 9/37 | R-b | |
| 10/37 | ||
| 11/37 | ||
| 12/37 | R-b | |
| 13/37 | ||
| 14/37 | ||
| 15/37 | ||
| 16/37 | ||
| 17/37 | ||
| 18/37 | ||
| 19/37 | ||
| 20/37 | ||
| 21/37 | ||
| 22/37 | ||
| 23/37 | ||
| 24/37 | ||
| 25/37 | ||
| 26/37 | ||
| 27/37 | R-b | |
| 28/37 | ||
| 29/37 | ||
| 30/37 | ||
| 31/37 | ||
| 32/37 | ||
| 33/37 | ||
| 34/37 | ||
| 35/37 | ||
| 36/37 | ||
| 37/37 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/37] DVB cleanups and documentation improvements
This patch series merges a 6 patches series I sent earlier, and a 25 patch series.
It comes after the patch series with add support for nexted structs/enums on kernel-doc.
I"m pushing it on my experimental tree:
https://git.linuxtv.org/mchehab/experimental.git/log/?h=dvb-fixes-v5
It is mainly focused on improving the DVB kAPI documentation, making it (finally!) in sync with the current implementation. It also contains a patch getting rid of the legacy (non-working) uAPI examples.
While reviewing the code implementation, I noticed some struct fields that aren't used at all by any DVB driver or core. So, the series gets rid of them. Others are used only on av7110, and are documented as such.
After this patch series, both DVB uAPI and kAPI are fully documented (except for the legacy video/audio/osd uAPI, that doesn't have any kAPI associated to them).
Granted, some things could be improved at the documentation, but at least it doesn't carry anymore any big gap or conflict!
Please review and test.
---
v2:
- merged with a previous 6 patch series;
- added patches at the end adding support for nexted structs/enums.
Mauro Carvalho Chehab (36):
media: dvb_frontend: only use kref after initialized
media: stv0288: get rid of set_property boilerplate
media: stv6110: get rid of a srate dead code
media: friio-fe: get rid of set_property()
media: dvb_frontend: get rid of get_property() callback
media: dvb_frontend: get rid of set_property() callback
media: dvb_frontend: cleanup dvb_frontend_ioctl_properties()
media: dvb_frontend: cleanup ioctl handling logic
media: dvb_frontend: get rid of property cache's state
media: dvb_frontend.h: fix alignment at the cache properties
media: dvb_frontend: better document the -EPERM condition
media: dvb_frontend: fix return values for FE_SET_PROPERTY
media: dvbdev: convert DVB device types into an enum
media: dvbdev: fully document its functions
media: dvb_frontend.h: improve kernel-doc markups
media: dtv-core.rst: add chapters and introductory tests for common
parts
media: dtv-core.rst: split into multiple files
media: dtv-demux.rst: minor markup improvements
media: dvb_demux.h: add an enum for DMX_TYPE_* and document
media: dvb_demux.h: add an enum for DMX_STATE_* and document
media: dvb_demux.h: get rid of unused timer at struct dvb_demux_filter
media: dvb_demux: mark a boolean field as such
media: dvb_demux: dvb_demux_feed.pusi_seen is boolean
media: dvb_demux.h: get rid of DMX_FEED_ENTRY() macro
media: dvb_demux: fix type of dvb_demux_feed.ts_type
media: dvb_demux: document dvb_demux_filter and dvb_demux_feed
media: dvb_frontend: get rid of dtv_get_property_dump()
media: dvb_demux.h: document structs defined on it
media: dvb_demux.h: document functions
media: dmxdev.h: add kernel-doc markups for data types and functions
media: dtv-demux.rst: parse other demux headers with kernel-doc
media: dvb-net.rst: document DVB network kAPI interface
media: dvb uAPI docs: get rid of examples section
media: dmxdev: use the newly nested kernel-doc support
media: dvb_demux: use the newly nested kernel-doc support
media: frontend: use the newly nested kernel-doc support
Satendra Singh Thakur (1):
media: dvb_frontend: dtv_property_process_set() cleanups
Documentation/media/kapi/dtv-ca.rst | 4 + Documentation/media/kapi/dtv-common.rst | 55 +++ Documentation/media/kapi/dtv-core.rst | 574 +---------------------- Documentation/media/kapi/dtv-demux.rst | 82 ++++ Documentation/media/kapi/dtv-frontend.rst | 443 +++++++++++++++++ Documentation/media/kapi/dtv-net.rst | 4 + Documentation/media/uapi/dvb/examples.rst | 378 +-------------- Documentation/media/uapi/dvb/fe-get-property.rst | 7 +- Documentation/media/uapi/dvb/net-types.rst | 2 +- drivers/media/dvb-core/dmxdev.h | 95 +++- drivers/media/dvb-core/dvb_demux.c | 17 +- drivers/media/dvb-core/dvb_demux.h | 253 +++++++++- drivers/media/dvb-core/dvb_frontend.c | 534 +++++++++++---------- drivers/media/dvb-core/dvb_frontend.h | 117 ++--- drivers/media/dvb-core/dvb_net.h | 34 +- drivers/media/dvb-core/dvbdev.c | 34 +- drivers/media/dvb-core/dvbdev.h | 137 +++++- drivers/media/dvb-frontends/lg2160.c | 14 - drivers/media/dvb-frontends/stv0288.c | 7 - drivers/media/dvb-frontends/stv6110.c | 9 - drivers/media/pci/ttpci/av7110.c | 2 +- drivers/media/pci/ttpci/budget-core.c | 2 +- drivers/media/usb/dvb-usb/friio-fe.c | 24 - include/uapi/linux/dvb/frontend.h | 35 +- 24 files changed, 1457 insertions(+), 1406 deletions(-) create mode 100644 Documentation/media/kapi/dtv-ca.rst create mode 100644 Documentation/media/kapi/dtv-common.rst create mode 100644 Documentation/media/kapi/dtv-demux.rst create mode 100644 Documentation/media/kapi/dtv-frontend.rst create mode 100644 Documentation/media/kapi/dtv-net.rst
Signature · 1 line
2.13.5