1. 17 12月, 2015 1 次提交
  2. 27 10月, 2015 1 次提交
    • G
      gpio: generic: Revert to old error handling in bgpio_map · b2f68b63
      Guenter Roeck 提交于
      Returning an error instead of NULL in bgpio_map if
      platform_get_resource_byname does not find a resource was introduced with
      commit cf3f2a2c ("gpio: generic: improve error handling in bgpio_map").
      This results in several qemu runtime failures with default and non-default
      configurations, if attempts are made to boot from mmcblk0. Examples for
      failures with multi_v7_defconfig are
      
      Machine: vexpress-a9	dtb: vexpress-v2p-ca9
      Machine: vexpress-a15	dtb: vexpress-v2p-ca15-tc1
      
      Crash:
      
      VFS: Cannot open root device "mmcblk0" or unknown-block(0,0): error -6
      Please append a correct "root=" boot option; here are the available partitions:
      Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
      
      Looking into the code, always returning an error if bgpio_map fails
      does not appear to make much sense, since the code in bgpio_setup_io
      specifically supports some of the resources to be NULL.
      
      Fixes: cf3f2a2c ("gpio: generic: improve error handling in bgpio_map")
      Cc: Heiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      b2f68b63
  3. 05 10月, 2015 3 次提交
  4. 27 7月, 2015 1 次提交
  5. 16 7月, 2015 1 次提交
  6. 11 5月, 2015 1 次提交
  7. 19 1月, 2015 1 次提交
  8. 22 7月, 2014 1 次提交
  9. 23 5月, 2014 1 次提交
  10. 18 3月, 2014 1 次提交
  11. 06 2月, 2014 2 次提交
  12. 12 4月, 2013 1 次提交
  13. 11 4月, 2013 1 次提交
  14. 29 11月, 2012 3 次提交
  15. 20 5月, 2012 1 次提交
    • S
      gpio/generic: initialize basic_mmio_gpio shadow variables properly · 3e11f7b8
      Shawn Guo 提交于
      It fixes the issue in gpio-generic that commit fb149218 (gpio/mxc: add
      missing initialization of basic_mmio_gpio shadow variables) manged to
      fix in gpio-mxc driver, so that other platform specific drivers do not
      suffer from the same problem over and over again.
      
      Changes since v1:
      * Turn the last parameter of bgpio_init() "bool big_endian" into
        "unsigned long flags" and give those really quirky hardwares a
        chance to tell that reg_set and reg_dir are unreadable.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      [grant.likely: Fix big-endian usage to explicitly set BBGPIOF_BIG_ENDIAN]
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      3e11f7b8
  16. 02 1月, 2012 1 次提交
  17. 15 9月, 2011 1 次提交
  18. 07 6月, 2011 1 次提交
  19. 20 5月, 2011 9 次提交
  20. 28 10月, 2010 1 次提交