02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

23 May, 2017

1 commit

  • This moves the mcp23s08 driver from gpio to pinctrl. Actual
    pinctrl support for configuration of the pull-up resistors
    follows in its own patch.

    Signed-off-by: Sebastian Reichel
    Acked-by: Sylvain Lemieux
    Signed-off-by: Linus Walleij

    Sebastian Reichel
     

04 May, 2017

1 commit

  • In many of clk_disable() implementations, it is a no-op for a NULL
    pointer input, but this is one of the exceptions.

    Making it treewide consistent will allow clock consumers to call
    clk_disable() without NULL pointer check.

    Link: http://lkml.kernel.org/r/1490692624-11931-4-git-send-email-yamada.masahiro@socionext.com
    Signed-off-by: Masahiro Yamada
    Cc: Stephen Boyd
    Cc: Ralf Baechle
    Cc: Michael Turquette
    Cc: Steven Miao
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masahiro Yamada
     

13 Jul, 2016

1 commit

  • The adv7604/adv7842 drivers now handle that register setting themselves
    and need no input from platform data anymore.

    This was a left-over from the time that the pixelport output format was
    decided by the platform data.

    Signed-off-by: Hans Verkuil
    Cc: Scott Jiang
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

18 Apr, 2016

1 commit


16 Feb, 2016

1 commit

  • Most arches have an asm/gpio.h that merely includes linux/gpio.h. The
    others select ARCH_HAVE_CUSTOM_GPIO_H, and when that's selected,
    linux/gpio.h includes asm/gpio.h.

    Therefore, code should include linux/gpio.h instead of including asm/gpio.h
    directly.

    Remove includes of asm/gpio.h, adding an include of linux/gpio.h when
    necessary.

    This is a follow-on to 7563bbf89d06 ("gpiolib/arches: Centralise
    bolierplate asm/gpio.h").

    Signed-off-by: Bjorn Helgaas
    Acked-by: Thomas Gleixner
    Acked-by: Arnd Bergmann
    Acked-by: Alexandre Courbot
    Signed-off-by: Linus Walleij

    Bjorn Helgaas
     

17 Nov, 2015

1 commit

  • Currently, include/media is messy, as it contains both the V4L2 core
    headers and some driver-specific headers on the same place. That makes
    harder to identify what core headers should be documented and what
    headers belong to I2C drivers that are included only by bridge/main
    drivers that would require the functions provided by them.

    Let's move those i2c specific files to its own subdirectory.

    The files to move were produced via the following script:
    mkdir include/media/i2c
    (cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
    (cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/*/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
    for i in include/media/*.h; do n=`basename $i`; (for j in $(git grep -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep i2c list`" != "" ]; then git mv $i include/media/i2c; fi; fi; done

    And the references corrected via this script:
    MAIN_DIR="media/"
    PREV_DIR="media/"
    DIRS="i2c/"

    echo "Checking affected files" >&2
    for i in $DIRS; do
    for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
    n=`basename $j`
    git grep -l $n
    done
    done|sort|uniq >files && (
    echo "Handling files..." >&2;
    echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
    (
    cd include/$MAIN_DIR;
    for j in $DIRS; do
    for i in $(ls $j); do
    echo "perl -ne 's,(include [\\\"\\&2;
    echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
    (
    cd include/$MAIN_DIR;
    for j in $DIRS; do
    for i in $(ls $j); do
    echo " perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
    done;
    done;
    echo "cat > a && mv a \$i; done"
    );
    ) >script && . ./script

    Merged Sakari Ailus patch that moves smiapp.h to include/media/i2c.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Arnd Bergmann

    Mauro Carvalho Chehab
     

24 Apr, 2015

1 commit


23 Apr, 2015

5 commits


16 Feb, 2015

2 commits


26 Jul, 2014

2 commits


15 Apr, 2014

2 commits


12 Apr, 2014

2 commits


11 Apr, 2014

1 commit


01 Feb, 2014

1 commit

  • Pull media updates from Mauro Carvalho Chehab:
    - a new jpeg codec driver for Samsung Exynos (jpeg-hw-exynos4)
    - a new dvb frontend for ds2103 chipset (m88ds2103)
    - a new sensor driver for Samsung S5K5BAF UXGA (s5k5baf)
    - new drivers for R-Car VSP1
    - a new radio driver: radio-raremono
    - a new tuner driver for ts2022 chipset (m88ts2022)
    - the analog part of em28xx is now a separate module that only
    load/runs if the device is not a pure digital TV device
    - added a staging driver for bcm2048 radio devices
    - the omap 2 video driver (omap24xx) was moved to staging. This driver
    is for an old hardware and uses a deprecated Kernel internal API. If
    nobody cares enough to fix it, it would be removed on a couple Kernel
    releases
    - the sn9c102 driver was moved to staging. This driver was replaced by
    gspca, and disabled on some distros, as almost all devices are known
    to work properly with gspca. It should be removed from kernel on a
    couple Kernel releases
    - lots of driver fixes, improvements and cleanups

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (421 commits)
    [media] media: v4l2-dev: fix video device index assignment
    [media] rc-core: reuse device numbers
    [media] em28xx-cards: properly initialize the device bitmap
    [media] Staging: media: Fix line length exceeding 80 characters in as102_drv.c
    [media] Staging: media: Fix line length exceeding 80 characters in as102_fe.c
    [media] Staging: media: Fix quoted string split across line in as102_fe.c
    [media] media: st-rc: Add reset support
    [media] m2m-deinterlace: fix allocated struct type
    [media] radio-usb-si4713: fix sparse non static symbol warnings
    [media] em28xx-audio: remove needless check before usb_free_coherent()
    [media] au0828: Fix sparse non static symbol warning
    Revert "[media] go7007-usb: only use go->dev after allocated"
    [media] em28xx-audio: provide an error code when URB submit fails
    [media] em28xx: fix check for audio only usb interfaces when changing the usb alternate setting
    [media] em28xx: fix usb alternate setting for analog and digital video endpoints > 0
    [media] em28xx: make 'em28xx_ctrl_ops' static
    em28xx-alsa: Fix error patch for init/fini
    [media] em28xx-audio: flush work at .fini
    [media] drxk: remove the option to load firmware asynchronously
    [media] em28xx: adjust period size at runtime
    ...

    Linus Torvalds
     

30 Jan, 2014

1 commit

  • …realmz6/blackfin-linux

    Pull blackfin updates from Steven Miao:
    "Some minor changes and bug fixes"

    * tag 'blackfin-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/realmz6/blackfin-linux:
    From: Eunbong Song <eunb.song@samsung.com>
    Add platfrom device resource for bfin-sport on bf533 stamp
    fix build error for bf527-ezkit_defconfig for old silicon
    blackfin: Support L1 SRAM parity checking feature on bf60x
    blackfin: bf609: update the anomaly list to Nov 2013
    blackfin: delete non-required instances of <linux/init.h>
    From: Paul Walmsley <pwalmsley@nvidia.com>
    06/18] smp, blackfin: kill SMP single function call interrupt
    arch: blackfin: uapi: be sure of "_UAPI" prefix for all guard macros

    Linus Torvalds
     

29 Jan, 2014

3 commits


20 Jan, 2014

1 commit


07 Jan, 2014

3 commits

  • The correct LLC DLL phase depends on the board layout, so this
    should be part of the platform_data.

    Also updated the platform_data in ezkit to ensure that what was the old
    default value is now explicitly specified, so the behavior for that board
    is unchanged.

    Tested-by: Martin Bugge
    Signed-off-by: Hans Verkuil
    Cc: Scott Jiang
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • The free-run mode can be board-specific.

    Also updated the platform_data in ezkit to ensure that what was the old
    default value is now explicitly specified, so the behavior for that board
    is unchanged.

    Signed-off-by: Martin Bugge
    Signed-off-by: Hans Verkuil
    Cc: Scott Jiang
    Signed-off-by: Mauro Carvalho Chehab

    Martin Bugge
     
  • Added support for YCrCb analog input.

    If input is ADV7842_MODE_RGB and RGB quantization range is set to
    V4L2_DV_RGB_RANGE_AUTO, then video with CEA timings will be received
    as RGB. For ADV7842_MODE_COMP, automatic CSC mode will be selected.

    See table 48 on page 281 in "ADV7842 Hardware Manual, Rev. 0, January 2011"
    for details.

    Make sure that when switching inputs the RGB quantization range is
    updated as well.

    Also updated the platform_data in ezkit to ensure that what was the old
    default value is now explicitly specified, so the behavior for that board
    is unchanged.

    Signed-off-by: Mats Randgaard
    Signed-off-by: Martin Bugge
    Signed-off-by: Hans Verkuil
    Cc: Scott Jiang
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

15 Nov, 2013

3 commits


13 Sep, 2013

6 commits