05 Mar, 2017

1 commit

  • Pull documentation fixes from Jonathan Corbet:
    "A few fixes for the docs tree, including one for a 4.11 build
    regression"

    * tag 'docs-4.11-fixes' of git://git.lwn.net/linux:
    Documentation/sphinx: fix primary_domain configuration
    docs: Fix htmldocs build failure
    doc/ko_KR/memory-barriers: Update control-dependencies section
    pcieaer doc: update the link
    Documentation: Update path to sysrq.txt

    Linus Torvalds
     

04 Mar, 2017

1 commit


28 Feb, 2017

2 commits

  • Fix typos and add the following to the scripts/spelling.txt:

    an union||a union

    Link: http://lkml.kernel.org/r/1481573103-11329-5-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     
  • Fix typos and add the following to the scripts/spelling.txt:

    an user||a user
    an userspace||a userspace

    I also added "userspace" to the list since it is a common word in Linux.
    I found some instances for "an userfaultfd", but I did not add it to the
    list. I felt it is endless to find words that start with "user" such as
    "userland" etc., so must draw a line somewhere.

    Link: http://lkml.kernel.org/r/1481573103-11329-4-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

23 Feb, 2017

1 commit

  • Pull documentation updates from Jonathan Corbet:
    "A slightly quieter cycle for documentation this time around.

    Three more DocBook template files have been converted to RST; only 21
    to go. There are various build improvements and the usual array of
    documentation improvements and fixes"

    * tag 'docs-4.11' of git://git.lwn.net/linux: (44 commits)
    docs / driver-api: Fix structure references in device_link.rst
    PM / docs: Fix structure references in device.rst
    Add a target to check broken external links in the Documentation
    Documentation: Fix linux-api list typo
    Documentation: DocBook/Makefile comment typo
    Improve sparse documentation
    Documentation: make Makefile.sphinx no-ops quieter
    Documentation: DMA-ISA-LPC.txt
    Documentation: input: fix path to input code definitions
    docs: Remove the copyright year from conf.py
    docs: Fix a warning in the Korean HOWTO.rst translation
    PM / sleep / docs: Convert PM notifiers document to reST
    PM / core / docs: Convert sleep states API document to reST
    PM / core: Update kerneldoc comments in pm.h
    doc-rst: Fix recursive make invocation from macros
    doc-rst: Delete output of failed dot-SVG conversion
    doc-rst: Break shell command sequences on failure
    Documentation/sphinx: make targets independent of Sphinx work for HAVE_SPHINX=0
    doc-rst: fixed cleandoc target when used with O=dir
    Documentation/sphinx: prevent generation of .pyc files in the source tree
    ...

    Linus Torvalds
     

22 Feb, 2017

1 commit

  • Pull media updates from Mauro Carvalho Chehab:

    - new drivers:
    - i.MX6 Video Data Order Adapter's (VDOA)
    - Toshiba et8ek8 5MP sensor
    - STM DELTA multi-format video decoder V4L2 driver
    - SPI connected IR LED
    - Mediatek IR remote receiver
    - ZyDAS ZD1301 DVB USB interface driver

    - new RC keymaps

    - some very old LIRC drivers got removed from staging

    - RC core gained support encoding IR scan codes

    - DVB si2168 gained support for DVBv5 statistics

    - lirc_sir driver ported to rc-core and promoted from staging

    - other bug fixes, board additions and driver improvements

    * tag 'media/v4.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (230 commits)
    [media] mtk-vcodec: fix build warnings without DEBUG
    [media] zd1301: fix building interface driver without demodulator
    [media] usbtv: add sharpness control
    [media] cxusb: Use a dma capable buffer also for reading
    [media] ttpci: address stringop overflow warning
    [media] dvb-usb-v2: avoid use-after-free
    [media] add Hama Hybrid DVB-T Stick support
    [media] et8ek8: Fix compiler / Coccinelle warnings
    [media] media: fix semicolon.cocci warnings
    [media] media: exynos4-is: add flags to dummy Exynos IS i2c adapter
    [media] v4l: of: check for unique lanes in data-lanes and clock-lanes
    [media] coda/imx-vdoa: constify structs
    [media] st-delta: debug: trace stream/frame information & summary
    [media] st-delta: add mjpeg support
    [media] st-delta: EOS (End Of Stream) support
    [media] st-delta: rpmsg ipc support
    [media] st-delta: add memory allocator helper functions
    [media] st-delta: STiH4xx multi-format video decoder v4l2 driver
    [media] MAINTAINERS: add st-delta driver
    [media] ARM: multi_v7_defconfig: enable STMicroelectronics DELTA Support
    ...

    Linus Torvalds
     

16 Feb, 2017

1 commit

  • Documentation shouldn't have broken links.
    sphinx linkcheck builder scans all documents for external links, tries
    to open them with urllib2, and writes an overview which ones are broken
    and redirected to standard output and to output.txt in the output
    directory.

    Reviewed-by: Jani Nikula
    Tested-by: Jani Nikula
    Signed-off-by: Rémy Léone
    Signed-off-by: Jonathan Corbet

    Rémy Léone
     

14 Feb, 2017

1 commit

  • This reverts 'commit 7e0739cd9c40 ("[media] videodev2.h: fix
    sYCC/AdobeYCC default quantization range").

    The problem is that many drivers can convert R'G'B' content (often
    from sensors) to Y'CbCr, but they all produce limited range Y'CbCr.

    To stay backwards compatible the default quantization range for
    sRGB and AdobeRGB Y'CbCr encoding should be limited range, not full
    range, even though the corresponding standards specify full range.

    Update the V4L2_MAP_QUANTIZATION_DEFAULT define accordingly and
    also update the documentation.

    Fixes: 7e0739cd9c40 ("[media] videodev2.h: fix sYCC/AdobeYCC default quantization range")
    Signed-off-by: Hans Verkuil
    Cc: # for v4.9 and up
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

07 Feb, 2017

1 commit

  • As we use redirection to create the SVG file, even a failed conversion
    will create the file and 'make' will consider it up-to-date if the
    build is retried. We should delete it in case of failure.

    Fixes: ec868e4ee2bc ("docs-rst: media: build SVG from graphviz files")
    Signed-off-by: Ben Hutchings
    Signed-off-by: Jonathan Corbet

    Ben Hutchings
     

31 Jan, 2017

1 commit

  • Document the EIO error since this can happen anywhere anytime and applications
    should be aware of this.

    Also fix typo: exaustive -> exhaustive

    Signed-off-by: Hans Verkuil
    Acked-by: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

30 Jan, 2017

3 commits

  • For IR wakeup, a driver has to program the hardware to wakeup at a
    specific IR sequence, so it makes no sense to allow multiple wakeup
    protocols to be selected. In the same manner the sysfs interface only
    allows one scancode to be provided.

    In addition, we need to know the specific variant of the protocol.

    In short, these changes are made to the wakeup_protocols sysfs entry:
    - list all the protocol variants rather than the protocol groups,
    e.g. "nec nec-x nec-32" rather than just "nec".
    - only allow one protocol variant to be selected rather than multiple
    - wakeup_filter can only be set once a protocol has been selected in
    wakeup_protocols.

    This is an API change, however the only user of this API is the img-ir,
    but the wakeup code was never merged to mainline, so it was never used.

    Signed-off-by: Sean Young
    Cc: James Hogan
    Cc: Sifan Naeem
    Signed-off-by: Mauro Carvalho Chehab

    Sean Young
     
  • Mention where to find the CEC utilities.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • The API is now finalized, so this notice should be dropped.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

28 Jan, 2017

1 commit

  • The media_entity_pipeline_start() and media_entity_pipeline_stop()
    functions are renamed as media_pipeline_start() and media_pipeline_stop(),
    respectively. The reason is two-fold: the pipeline struct is, rightly,
    already called media_pipeline (rather than media_entity_pipeline) and what
    this really is about is a pipeline. A pipeline consists of entities ---
    and, well, other objects embedded in these entities.

    As the pipeline object will be in the future moved from entities to pads
    in order to support multiple pipelines through a single entity, do the
    renaming now.

    Similarly, functions operating on struct media_entity_graph as well as the
    struct itself are renamed by dropping the "entity_" part from the prefix
    of the function family and the data structure. The graph traversal which
    is what the functions are about is not specifically about entities only
    and will operate on pads for the same reason as the media pipeline.

    The patch has been generated using the following command:

    git grep -l media_entity |xargs perl -i -pe '
    s/media_entity_pipeline/media_pipeline/g;
    s/media_entity_graph/media_graph/g'

    And a few manual edits related to line start alignment and line wrapping.

    Signed-off-by: Sakari Ailus
    Acked-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Sakari Ailus
     

15 Dec, 2016

1 commit

  • * patchwork: (496 commits)
    [media] v4l: tvp5150: Add missing break in set control handler
    [media] v4l: tvp5150: Don't inline the tvp5150_selmux() function
    [media] v4l: tvp5150: Compile tvp5150_link_setup out if !CONFIG_MEDIA_CONTROLLER
    [media] em28xx: don't store usb_device at struct em28xx
    [media] em28xx: use usb_interface for dev_foo() calls
    [media] em28xx: don't change the device's name
    [media] mn88472: fix chip id check on probe
    [media] mn88473: fix chip id check on probe
    [media] lirc: fix error paths in lirc_cdev_add()
    [media] s5p-mfc: Add support for MFC v8 available in Exynos 5433 SoCs
    [media] s5p-mfc: Rework clock handling
    [media] s5p-mfc: Don't keep clock prepared all the time
    [media] s5p-mfc: Kill all IS_ERR_OR_NULL in clocks management code
    [media] s5p-mfc: Remove dead conditional code
    [media] s5p-mfc: Ensure that clock is disabled before turning power off
    [media] s5p-mfc: Remove special clock rate management
    [media] s5p-mfc: Use printk_ratelimited for reporting ioctl errors
    [media] s5p-mfc: Set DMA_ATTR_ALLOC_SINGLE_PAGES
    [media] vivid: Set color_enc on HSV formats
    [media] v4l2-tpg: Init hv_enc field with a valid value
    ...

    Mauro Carvalho Chehab
     

02 Dec, 2016

1 commit


01 Dec, 2016

9 commits


29 Nov, 2016

1 commit

  • The cec_allocate_adapter function doesn't need the parent device, only the
    cec_register_adapter function needs it.

    Drop the cec_devnode parent field, since devnode.dev.parent can be used
    instead.

    This change makes the framework consistent with other frameworks where the
    parent device is not used until the device is registered.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

24 Nov, 2016

3 commits


18 Nov, 2016

1 commit


17 Nov, 2016

10 commits

  • The SVG files are larger than the draw dimentions, have long
    lines and aren't cleaned. Use inkscape to automatically fix
    those issues.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Somehow, two DVB headers were included twice. Remove the
    duplication

    Reported-by: Markus Heiser
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Recent Makefile changes added an rm command without the requisite "-f",
    leading to warnings if the files do not exist. Make it be quiet again.

    Signed-off-by: Jonathan Corbet

    Jonathan Corbet
     
  • The PDF files that contain media images were actually generated
    offline from their SVG or PNG source files.

    Sphinx can handle PNG sources automatially. So, let's just
    drop their PDF counterparts.

    For SVG, however, Sphinx doesn't produce the right tags to
    use the TexLive SVG support. Also, the SVG support is done via
    shell execution, with is not nice.

    So, while we don't have any support for SVG inside Sphinx
    core or as an extension, move the logic to build them to Makefile,
    producing the PDF images on runtime.

    NOTE: due to the way Sphinx works, the PDF images should be
    generated inside the Kernel source tree, as otherwise Sphinx
    won't find it, not obeying what's specified by "O=" makefile
    parameter.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • Right now, media is using two different formats for bitmap
    images: GIF and PNG. Let's use just one, to make it simpler when
    building with Sphinx.

    As PNG is usually better than GIF, let's use it.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • SVG images are nicer, as they can easily be scaled. Also, they're
    written in text, with makes easier to work.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • There are several missing columns on the size specification,
    causing LaTeX to complain on interactive mode.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • adjustbox doesn't work on longtables. Also, this
    causes an error on LaTeX in interactive mode.

    So, use, instead, a tiny font.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • PDF build on Kernel 4.9-rc? returns an error with Sphinx 1.3.x
    and Sphinx 1.4.x, when trying to solve some cross-references.

    The solution is to redefine the \DURole macro.

    However, this is redefined too late. Move such redefinition to
    LaTeX preamble and bind it to just the Sphinx versions where the
    error is known to be present.

    Tested by building the documentation on interactive mode:
    make PDFLATEX=xelatex -C Documentation/output/./latex

    Fixes: e61a39baf74d ("[media] index.rst: Fix LaTeX error in interactive mode on Sphinx 1.4.x")
    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     
  • The FDP1 driver performs advanced de-interlacing on a memory 2 memory
    based video stream, and supports conversion from YCbCr/YUV
    to RGB pixel formats

    Signed-off-by: Kieran Bingham
    Reviewed-by: Laurent Pinchart
    Signed-off-by: Laurent Pinchart
    Signed-off-by: Mauro Carvalho Chehab

    Kieran Bingham