1. 05 3月, 2015 2 次提交
  2. 04 3月, 2015 4 次提交
  3. 02 3月, 2015 2 次提交
  4. 04 2月, 2015 1 次提交
  5. 03 2月, 2015 3 次提交
  6. 30 1月, 2015 4 次提交
  7. 29 1月, 2015 6 次提交
  8. 26 1月, 2015 2 次提交
    • S
      gpio: mcp23s08: handle default gpio base · b184c388
      Sonic Zhang 提交于
      Create default gpio base if neither device node nor
      platform data is defined.
      
      Cc: Stable <stable@vger.kernel.org>
      Signed-off-by: NSonic Zhang <sonic.zhang@analog.com>
      Reviewed-by: NAlexandre Courbot <acourbot@nvidia.com>
      Tested-by: NAntonio Fiol <antonio@fiol.es>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      b184c388
    • T
      gpio: omap: Fix bad device access with setup_irq() · 3d009c8c
      Tony Lindgren 提交于
      Similar to omap_gpio_irq_type() let's make sure that the GPIO
      is usable as an interrupt if the platform init code did not
      call gpio_request(). Otherwise we can get invalid device access
      after setup_irq():
      
      WARNING: CPU: 0 PID: 1 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x214/0x340()
      44000000.ocp:L3 Custom Error: MASTER MPU TARGET L4CFG (Idle): Data Access in Supervisor mode during Functional access
      ...
      [<c05f21e4>] (__irq_svc) from [<c05f1974>] (_raw_spin_unlock_irqrestore+0x34/0x44)
      [<c05f1974>] (_raw_spin_unlock_irqrestore) from [<c00914a8>] (__setup_irq+0x244/0x530)
      [<c00914a8>] (__setup_irq) from [<c00917d4>] (setup_irq+0x40/0x8c)
      [<c00917d4>] (setup_irq) from [<c0039c8c>] (omap_system_dma_probe+0x1d4/0x2b4)
      [<c0039c8c>] (omap_system_dma_probe) from [<c03b2200>] (platform_drv_probe+0x44/0xa4)
      ...
      
      We can fix this the same way omap_gpio_irq_type() is handling it.
      
      Note that the long term solution is to change the gpio-omap driver
      to handle the banks as separate driver instances. This will allow
      us to rely on just runtime PM for tracking the bank specific state.
      Reported-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Cc: Javier Martinez Canillas <javier@dowhile0.org>
      Cc: Kevin Hilman <khilman@kernel.org>
      Cc: Santosh Shilimkar <ssantosh@kernel.org>
      Tested-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      3d009c8c
  9. 22 1月, 2015 2 次提交
  10. 20 1月, 2015 10 次提交
  11. 19 1月, 2015 4 次提交