1. 04 12月, 2015 6 次提交
    • R
      mfd: arizona: Support Cirrus Logic CS47L24 and WM1831 · ea1f3339
      Richard Fitzgerald 提交于
      This patch adds the regmap configuration tables and
      core MFD handling for the CS47L24 and WM1831 codecs.
      
      Note that compared to the other Arizona codecs, these devices
      do not have an LDO1 or micsupp regulators, extcon driver, or
      the DCVDD isolation control.
      Signed-off-by: NRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      ea1f3339
    • L
      mfd: qcom_rpm: Fix a possible NULL dereference · cf1199f7
      LABBE Corentin 提交于
      of_match_device could return NULL, and so cause a NULL pointer
      dereference later.
      Signed-off-by: NLABBE Corentin <clabbe.montjoie@gmail.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      cf1199f7
    • L
      mfd: ab8500: Delete static IRQ resources · bdd5dcf5
      Linus Walleij 提交于
      The platforms that use the AB8500 define all IRQ resources in the
      device tree and they are automatically populated by matching
      the .of_compatible string. These static resources are just
      surplus baggage these days.
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      bdd5dcf5
    • J
      mfd: da903x: Constify da903x_chip_ops structure · f83e7d81
      Julia Lawall 提交于
      The da903x_chip_ops structure is never modified, so declare it
      as const.
      
      Done with the help of Coccinelle.
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      f83e7d81
    • S
      mfd: mc13xxx-core: Use of_property_read_bool() · 505b9e57
      Saurabh Sengar 提交于
      For checking if a property is present or not,
      use of_property_read_bool instead of of_get_property()
      Signed-off-by: NSaurabh Sengar <saurabh.truth@gmail.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      505b9e57
    • J
      mfd: as3722: Handle interrupts on suspend · 35deff7e
      Jon Hunter 提交于
      The as3722 device is registered as an irqchip and the as3722-rtc interrupt
      is one of it's interrupt sources. When using the as3722-rtc as a wake-up
      device from suspend, the following is seen:
      
        PM: Syncing filesystems ... done.
        Freezing user space processes ... (elapsed 0.001 seconds) done.
        Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
        Suspending console(s) (use no_console_suspend to debug)
        PM: suspend of devices complete after 161.119 msecs
        PM: late suspend of devices complete after 1.048 msecs
        PM: noirq suspend of devices complete after 0.756 msecs
        Disabling non-boot CPUs ...
        CPU1: shutdown
        CPU2: shutdown
        CPU3: shutdown
        Entering suspend state LP1
        Enabling non-boot CPUs ...
        CPU1 is up
        CPU2 is up
        CPU3 is up
        PM: noirq resume of devices complete after 0.487 msecs
        as3722 4-0040: Failed to read IRQ status: -16
        as3722 4-0040: Failed to read IRQ status: -16
        as3722 4-0040: Failed to read IRQ status: -16
        as3722 4-0040: Failed to read IRQ status: -16
        ...
      
      The reason why the as3722 interrupt status cannot be read is because the
      as3722 interrupt is not masked during suspend and when the as3722-rtc
      interrupt occurs, to wake-up the device, the interrupt is seen before the
      i2c controller has been resumed in order to read the as3722 interrupt
      status.
      
      The as3722-rtc driver sets it's interrupt as a wake-up source during
      suspend, which gets propagated to the parent as3722 interrupt. However,
      the as3722-rtc driver cannot disable it's interrupt during suspend
      otherwise we would never be woken up and so the as3722 must disable it's
      interrupt instead.
      
      Fix this by disabling the as3722 interrupt during suspend. To ensure that
      a wake-up event from the as3722 is not missing, enable the as3722 interrupt
      as a wake-up source before disabling the interrupt on entering suspend.
      Signed-off-by: NJon Hunter <jonathanh@nvidia.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      35deff7e
  2. 24 11月, 2015 3 次提交
  3. 23 11月, 2015 1 次提交
  4. 07 11月, 2015 1 次提交
    • L
      mfd: avoid newly introduced compiler warning · 4dcee4d8
      Linus Torvalds 提交于
      Commit b158b69a ("mfd: rtsx: Simplify function return logic")
      removed the use of the 'err' variable, but left the variable itself
      around, resulting in gcc quite reasonably warning:
      
          drivers/mfd/rtsx_pcr.c: In function ‘rtsx_pci_set_pull_ctl’:
          drivers/mfd/rtsx_pcr.c:565:6: warning: unused variable ‘err’ [-Wunused-variable]
            int err;
                ^
      
      Get rid of the unused variable, and avoid the new warning.
      
      Cc: Javier Martinez Canillas <javier@osg.samsung.com>
      Cc: Lee Jones <lee.jones@linaro.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4dcee4d8
  5. 31 10月, 2015 29 次提交