An error occurred fetching the project authors.
  1. 22 Nov, 2019 2 commits
  2. 21 Nov, 2019 5 commits
  3. 15 Nov, 2019 1 commit
  4. 13 Nov, 2019 9 commits
  5. 12 Nov, 2019 15 commits
  6. 09 Nov, 2019 3 commits
  7. 08 Nov, 2019 3 commits
  8. 07 Nov, 2019 2 commits
    • Bartosz Golaszewski's avatar
      Merge tag 'v5.4-rc6' into gpio/for-next · 1720624e
      Bartosz Golaszewski authored
      Linux 5.4-rc6
      1720624e
    • Andy Shevchenko's avatar
      gpiolib: No need to call gpiochip_remove_pin_ranges() twice · 2f4133bb
      Andy Shevchenko authored
      of_gpiochip_add(), when fails, calls gpiochip_remove_pin_ranges().
      
      ADD:
        gpiochip_add_data_with_key() ->
          of_gpiochip_add() -> (ERROR path)
            gpiochip_remove_pin_ranges()
      
      At the same time of_gpiochip_remove() calls exactly the above mentioned
      function unconditionally and so does gpiochip_remove().
      
      REMOVE:
        gpiochip_remove() ->
          gpiochip_remove_pin_ranges()
          of_gpiochip_remove() ->
            gpiochip_remove_pin_ranges()
      
      Since gpiochip_remove() calls gpiochip_remove_pin_ranges() unconditionally,
      we have duplicate call to the same function when it's not necessary.
      
      Move gpiochip_remove_pin_ranges() from of_gpiochip_add() to gpiochip_add()
      to avoid duplicate calls and be consistent with the explicit call in
      gpiochip_remove().
      
      Fixes: e93fa3f2 ("gpiolib: remove duplicate pin range code")
      Depends-on: f7299d44 ("gpio: of: Fix of_gpiochip_add() error path")
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      2f4133bb