1. 08 Jun, 2016 4 commits
  2. 02 Jun, 2016 9 commits
  3. 30 May, 2016 4 commits
  4. 28 May, 2016 5 commits
  5. 27 May, 2016 14 commits
  6. 26 May, 2016 4 commits
    • Andrew Morton's avatar
      drivers/pinctrl/intel/pinctrl-baytrail.c: fix build with gcc-4.4 · bbccb9c7
      Andrew Morton authored
      gcc-4.4 and thereabouts has issues with initializers of anonymous
      unions, and it generates the following warnings:
      
        drivers/pinctrl/intel/pinctrl-baytrail.c:413: error: unknown field 'simple_funcs' specified in initializer
        drivers/pinctrl/intel/pinctrl-baytrail.c:413: warning: missing braces around initializer
        drivers/pinctrl/intel/pinctrl-baytrail.c:413: warning: (near initialization for 'byt_score_groups[0].<anonymous>')
        drivers/pinctrl/intel/pinctrl-baytrail.c:415: error: unknown field 'simple_funcs' specified in initializer
        drivers/pinctrl/intel/pinctrl-baytrail.c:417: error: unknown field 'simple_funcs' specified in initializer
        ...
      
      Work around this.
      Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
      Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bbccb9c7
    • Erico Nunes's avatar
      i2c: dev: switch from register_chrdev to cdev API · d6760b14
      Erico Nunes authored
      i2c-dev had never moved away from the older register_chrdev interface to
      implement its char device registration. The register_chrdev API has the
      limitation of enabling only up to 256 i2c-dev busses to exist.
      
      Large platforms with lots of i2c devices (i.e. pluggable transceivers)
      with dedicated busses may have to exceed that limit.
      In particular, there are also platforms making use of the i2c bus
      multiplexing API, which instantiates a virtual bus for each possible
      multiplexed selection.
      
      This patch removes the register_chrdev usage and replaces it with the
      less old cdev API, which takes away the 256 i2c-dev bus limitation.
      It should not have any other impact for i2c bus drivers or user space.
      
      This patch has been tested on qemu x86 and qemu powerpc platforms with
      the aid of a module which adds and removes 5000 virtual i2c busses, as
      well as validated on an existing powerpc hardware platform which makes
      use of the i2c bus multiplexing API.
      i2c-dev busses with device minor numbers larger than 256 have also been
      validated to work with the existing i2c-tools.
      Signed-off-by: default avatarErico Nunes <erico.nunes@datacom.ind.br>
      [wsa: kept includes sorted]
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      d6760b14
    • Marc Gonzalez's avatar
      i2c: xlr: rename ARCH_TANGOX to ARCH_TANGO · e3879e4f
      Marc Gonzalez authored
      The ARCH name was changed during the review process of the mach, and
      this driver was forgotten to be converted. Fix it now.
      http://article.gmane.org/gmane.linux.ports.arm.kernel/456331Signed-off-by: default avatarMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
      [wsa: updated commit message slightly]
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      e3879e4f
    • Ludovic Desroches's avatar
      i2c: at91: change log when dma configuration fails · 67fed0da
      Ludovic Desroches authored
      When the DMA configuration fails, there is a log reporting that we can't
      use DMA and indicating the error number. When booting the kernel, it is
      annoying to see this error number. Moreover, people can think something
      is going wrong. It is not the case, it means that DMA can't be used but
      it doesn't prevent to use i2c.
      Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      67fed0da