1. 23 7月, 2016 10 次提交
    • M
      [media] v4l2-device.rst: add contents from v4l2-framework · 5de379a2
      Mauro Carvalho Chehab 提交于
      Part of the contents of v4l2-framework is related to the
      kAPI defined by v4l2-device. Move such contents to the
      v4l2-device.rst.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      5de379a2
    • M
      [media] doc-rst: Split v4l-core into one file per kAPI · 58759874
      Mauro Carvalho Chehab 提交于
      Sphinx produce a 1:1 mapping between a rst file and an html file.
      
      So, we need to split the kernel-doc tags on multiple documents.
      
      A side effect is that we're now having a better name for each
      section of the kAPI documentation.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      58759874
    • M
      [media] v4l2-device.h: document functions · 575f9308
      Mauro Carvalho Chehab 提交于
      The functions at v4l2-device.h are not using the proper
      markups. Add it, and include at the v4l2-core.rst.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      575f9308
    • M
      [media] doc-rst: Fix license for the media books · d888f8d7
      Mauro Carvalho Chehab 提交于
      The kAPI, v4l-drivers and dvb-drivers never used the
      GNU FDL license. The addition of such license header were
      just due to copy-and-paste. So, let's fix it.
      
      As the media_kapi were part of device-drivers.tmp, it is
      under GPL v2+.
      
      The other two books is an agregation of files without any
      license explicitly specified. So, they're all bound to the
      Kernel's COPYING license. So, they're GPL v2 only.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      d888f8d7
    • M
      [media] media-entry.h: Fix a note markup · f58cad22
      Mauro Carvalho Chehab 提交于
      The Sphinx note markup for media_remove_intf_links() is wrong:
      there's a missing space.
      
      While here, let's auto-numerate the two notes.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      f58cad22
    • M
      [media] doc-rst: better organize the media books · da83c888
      Mauro Carvalho Chehab 提交于
      The uAPI book has 5 parts, but they lost numeration after
      conversion to rst. Manually number those parts, and make
      the main index with 1 depth, to only show the parts and
      the annexes.
      
      At each part, use :maxwidth: 5, in order to show a more
      complete index.
      
      While here, fix the cross-references between different
      books.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      da83c888
    • M
      [media] doc-rst: Fix some Sphinx warnings · 5b8700e9
      Mauro Carvalho Chehab 提交于
      Fix all remaining media warnings with ReST that are fixable
      without changing at the Sphinx code.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      5b8700e9
    • M
      Merge branch 'patchwork' into topic/docs-next · c278256d
      Mauro Carvalho Chehab 提交于
      * patchwork: (1492 commits)
        [media] cec: always check all_device_types and features
        [media] cec: poll should check if there is room in the tx queue
        [media] vivid: support monitor all mode
        [media] cec: fix test for unconfigured adapter in main message loop
        [media] cec: limit the size of the transmit queue
        [media] cec: zero unused msg part after msg->len
        [media] cec: don't set fh to NULL in CEC_TRANSMIT
        [media] cec: clear all status fields before transmit and always fill in sequence
        [media] cec: CEC_RECEIVE overwrote the timeout field
        [media] cxd2841er: Reading SNR for DVB-C added
        [media] cxd2841er: Reading BER and UCB for DVB-C added
        [media] cxd2841er: fix switch-case for DVB-C
        [media] cxd2841er: fix signal strength scale for ISDB-T
        [media] cxd2841er: adjust the dB scale for DVB-C
        [media] cxd2841er: provide signal strength for DVB-C
        [media] cxd2841er: fix BER report via DVBv5 stats API
        [media] mb86a20s: apply mask to val after checking for read failure
        [media] airspy: fix error logic during device register
        [media] s5p-cec/TODO: add TODO item
        [media] cec/TODO: drop comment about sphinx documentation
        ...
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      c278256d
    • M
      Merge branch 'docs-next' of git://git.lwn.net/linux into topic/docs-next · 7e5b7d1b
      Mauro Carvalho Chehab 提交于
      * 'docs-next' of git://git.lwn.net/linux:
        doc-rst: kernel-doc: fix handling of address_space tags
        Revert "doc/sphinx: Enable keep_warnings"
        doc-rst: kernel-doc directive, fix state machine reporter
        docs: deprecate kernel-doc-nano-HOWTO.txt
        doc/sphinx: Enable keep_warnings
        Documentation: add watermark_scale_factor to the list of vm systcl file
        kernel-doc: Fix up warning output
        docs: Get rid of some kernel-documentation warnings
      7e5b7d1b
    • M
      doc-rst: kernel-doc: fix handling of address_space tags · a88b1672
      Mauro Carvalho Chehab 提交于
      The RST cpp:function handler is very pedantic: it doesn't allow any
      macros like __user on it:
      
      	Documentation/media/kapi/dtv-core.rst:28: WARNING: Error when parsing function declaration.
      	If the function has no return type:
      	  Error in declarator or parameters and qualifiers
      	  Invalid definition: Expecting "(" in parameters_and_qualifiers. [error at 8]
      	    ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len)
      	    --------^
      	If the function has a return type:
      	  Error in declarator or parameters and qualifiers
      	  If pointer to member declarator:
      	    Invalid definition: Expected '::' in pointer to member (function). [error at 37]
      	      ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len)
      	      -------------------------------------^
      	  If declarator-id:
      	    Invalid definition: Expecting "," or ")" in parameters_and_qualifiers, got "*". [error at 102]
      	      ssize_t dvb_ringbuffer_pkt_read_user (struct dvb_ringbuffer * rbuf, size_t idx, int offset, u8 __user * buf, size_t len)
      	      ------------------------------------------------------------------------------------------------------^
      
      So, we have to remove it from the function prototype.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      Signed-off-by: NJonathan Corbet <corbet@lwn.net>
      a88b1672
  2. 21 7月, 2016 3 次提交
  3. 20 7月, 2016 11 次提交
  4. 19 7月, 2016 15 次提交
  5. 18 7月, 2016 1 次提交