1. 01 5月, 2012 17 次提交
  2. 17 4月, 2012 3 次提交
    • P
      mfd: Fix modular builds of rc5t583 regulator support · 82ea267f
      Paul Gortmaker 提交于
      The combination of commit 1b1247dd
      
          "mfd: Add support for RICOH PMIC RC5T583"
      
      and commit 6ffc3270
      
          "regulator: Add support for RICOH PMIC RC5T583 regulator"
      
      are causing the i386 allmodconfig builds to fail with this:
      
        ERROR: "rc5t583_update" [drivers/regulator/rc5t583-regulator.ko] undefined!
        ERROR: "rc5t583_set_bits" [drivers/regulator/rc5t583-regulator.ko] undefined!
        ERROR: "rc5t583_clear_bits" [drivers/regulator/rc5t583-regulator.ko] undefined!
        ERROR: "rc5t583_read" [drivers/regulator/rc5t583-regulator.ko] undefined!
      
      and this:
      
        ERROR: "rc5t583_ext_power_req_config" [drivers/regulator/rc5t583-regulator.ko] undefined!
      
      For the 1st four, make the simple ops static inline, instead of
      polluting the namespace with trivial exports.  For the last one,
      add an EXPORT_SYMBOL.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      82ea267f
    • D
      mfd: Fix asic3_gpio_to_irq · 02269ab1
      Dmitry Artamonow 提交于
      Assumption that irq numbers of asic3 gpios start at
      IRQ_BOARD_START is certainly wrong - driver may as well
      use any other base for its irqs (consider for example
      the imaginary case of two ASIC3 chips onboard)
      
      Furthermore, some platforms even don't have IRQ_BOARD_START
      defined, so driver will fail to build on them:
      -------------------------------------------------------
      drivers/mfd/asic3.c: In function 'asic3_gpio_to_irq':
      drivers/mfd/asic3.c:530: error: 'IRQ_BOARD_START' undeclared (first use in this function)
      drivers/mfd/asic3.c:530: error: (Each undeclared identifier is reported only once
      drivers/mfd/asic3.c:530: error: for each function it appears in.)
      -------------------------------------------------------
      
      Fix it by using irq_base from driver data.
      Signed-off-by: NDmitry Artamonow <mad_soft@inbox.ru>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      02269ab1
    • K
      ARM: OMAP3: USB: Fix the EHCI ULPI PHY reset issue · 1fcb57d0
      Keshava Munegowda 提交于
      It is observed that the echi ports of 3430 sdp board
      are not working due to the random timing of programming
      the associated GPIOs of the ULPI PHYs of the EHCI for reset.
      If the PHYs are reset at during usbhs core driver, host ports will
      not work because EHCI driver is loaded after the resetting PHYs.
      The PHYs should be in reset state while initializing the EHCI
      controller.
      The code which does the GPIO pins associated with the PHYs
      are programmed to reset is moved from the USB host core driver
      to EHCI driver.
      Signed-off-by: NKeshava Munegowda <keshava_mgowda@ti.com>
      Reviewed-by: NPartha Basak <parthab@india.ti.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Tested-by: NIgor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      1fcb57d0
  3. 16 4月, 2012 1 次提交
  4. 13 4月, 2012 1 次提交
    • M
      ARM: 7366/3: amba: Remove AMBA level regulator support · 1e45860f
      Mark Brown 提交于
      The AMBA bus regulator support is being used to model on/off switches
      for power domains which isn't terribly idiomatic for modern kernels with
      the generic power domain code and creates integration problems on platforms
      which don't use regulators for their power domains as it's hard to tell
      the difference between a regulator that is needed but failed to be provided
      and one that isn't supposed to be there (though DT does make that easier).
      
      Platforms that wish to use the regulator API to manage their power domains
      can indirect via the power domain interface.
      
      This feature is only used with the vape supply of the db8500 PRCMU
      driver which supplies the UARTs and MMC controllers, none of which have
      support for managing vcore at runtime in mainline (only pl022 SPI
      controller does).  Update that supply to have an always_on constraint
      until the power domain support for the system is updated so that it is
      enabled for these users, this is likely to have no impact on practical
      systems as probably at least one of these devices will be active and
      cause AMBA to hold the supply on anyway.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Tested-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1e45860f
  5. 06 4月, 2012 1 次提交
    • S
      simple_open: automatically convert to simple_open() · 234e3405
      Stephen Boyd 提交于
      Many users of debugfs copy the implementation of default_open() when
      they want to support a custom read/write function op.  This leads to a
      proliferation of the default_open() implementation across the entire
      tree.
      
      Now that the common implementation has been consolidated into libfs we
      can replace all the users of this function with simple_open().
      
      This replacement was done with the following semantic patch:
      
      <smpl>
      @ open @
      identifier open_f != simple_open;
      identifier i, f;
      @@
      -int open_f(struct inode *i, struct file *f)
      -{
      (
      -if (i->i_private)
      -f->private_data = i->i_private;
      |
      -f->private_data = i->i_private;
      )
      -return 0;
      -}
      
      @ has_open depends on open @
      identifier fops;
      identifier open.open_f;
      @@
      struct file_operations fops = {
      ...
      -.open = open_f,
      +.open = simple_open,
      ...
      };
      </smpl>
      
      [akpm@linux-foundation.org: checkpatch fixes]
      Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      234e3405
  6. 29 3月, 2012 1 次提交
  7. 22 3月, 2012 9 次提交
  8. 20 3月, 2012 3 次提交
  9. 17 3月, 2012 4 次提交