1. 25 10月, 2016 1 次提交
  2. 16 10月, 2015 1 次提交
    • C
      regulator: arizona-ldo1: Fix handling of GPIO 0 · ce938001
      Charles Keepax 提交于
      The LDO1 driver is using the arizona_of_get_named_gpio helper function
      which will return 0 if an error was encountered whilst parsing the GPIO,
      as under the pdata scheme 0 was not being treated as a valid GPIO.
      However, since the regulator framework was expanded to allow the use of
      GPIO 0 this causes us to attempt to register GPIO 0 when we encountered
      an error parsing the device tree.
      
      This patch uses of_get_named_gpio directly and sets the
      ena_gpio_initialized flag based on the return value.
      
      Fixes: 1de3821a ("regulator: Set ena_gpio_initialized in regulator drivers")
      Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      ce938001
  3. 03 10月, 2015 1 次提交
  4. 03 6月, 2015 1 次提交
  5. 11 5月, 2015 1 次提交
  6. 21 2月, 2015 1 次提交
  7. 27 11月, 2014 1 次提交
  8. 07 11月, 2014 1 次提交
  9. 20 10月, 2014 1 次提交
  10. 05 7月, 2014 1 次提交
  11. 28 5月, 2014 1 次提交
    • A
      regulator: arizona-ldo1: add missing #include · 7b22b9a5
      Arnd Bergmann 提交于
      commit 2cce4be9 "regulator: arizona-ldo1: Add processing of init_data
      from device tree" added a call to of_get_child_by_name() but
      did not add an #include to the header file declaring that function.
      
      I got a build error when doing randconfig testing on this, which
      is fixed by this patch to include of.h.
      
      drivers/regulator/arizona-ldo1.c:192:2: error: implicit declaration of function 'of_get_child_by_name' [-Werror=implicit-function-declaration]
      drivers/regulator/arizona-ldo1.c:193:2: error: implicit declaration of function 'of_parse_phandle' [-Werror=implicit-function-declaration]
      drivers/regulator/arizona-ldo1.c:213:2: error: implicit declaration of function 'of_node_put' [-Werror=implicit-function-declaration]
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      7b22b9a5
  12. 19 4月, 2014 2 次提交
  13. 18 3月, 2014 1 次提交
  14. 20 2月, 2014 1 次提交
  15. 17 9月, 2013 1 次提交
  16. 26 3月, 2013 1 次提交
  17. 29 11月, 2012 4 次提交
  18. 20 11月, 2012 3 次提交
  19. 28 9月, 2012 1 次提交
  20. 10 9月, 2012 1 次提交
  21. 04 7月, 2012 1 次提交
  22. 25 6月, 2012 1 次提交