An error occurred fetching the project authors.
  1. 03 Mar, 2016 1 commit
  2. 26 Oct, 2015 2 commits
    • Ulf Hansson's avatar
      mmc: core: Remove MMC_CLKGATE · 9eadcc05
      Ulf Hansson authored
      MMC_CLKGATE was once invented to save power by gating the bus clock at
      request inactivity. At that time it served its purpose. The modern way to
      deal with power saving for these scenarios, is by using runtime PM.
      
      Nowadays, several host drivers have deployed runtime PM, but for those
      that haven't and which still cares power saving at request inactivity,
      it's certainly time to deploy runtime PM as it has been around for several
      years now.
      
      To simplify code to mmc core and thus decrease maintenance efforts, this
      patch removes all code related to MMC_CLKGATE.
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      9eadcc05
    • Ulf Hansson's avatar
      mmc: core: Keep host claimed while invoking mmc_power_off|up() · 8d1ffc8c
      Ulf Hansson authored
      As mmc_claim_host() invokes pm_runtime_get_sync() for the mmc host device,
      it's important that the host is kept claimed for *all* accesses to it via
      the host_ops callbacks.
      
      In some code paths for SDIO, particularly related to the PM support,
      mmc_power_off|up() is invoked without keeping the host claimed. Let's fix
      these.
      
      Moreover, mmc_start|stop_host() also invokes mmc_power_off|up() without
      claiming the host, let's fix these as well.
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Acked-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
      8d1ffc8c
  3. 01 Jun, 2015 6 commits
  4. 25 May, 2015 1 commit
  5. 23 Mar, 2015 1 commit
  6. 19 Jan, 2015 1 commit
  7. 26 Nov, 2014 2 commits
  8. 24 Sep, 2014 1 commit
  9. 09 Sep, 2014 1 commit
  10. 12 May, 2014 1 commit
  11. 22 Apr, 2014 1 commit
  12. 31 Oct, 2013 7 commits
  13. 27 Jun, 2013 2 commits
  14. 26 May, 2013 2 commits
  15. 12 Apr, 2013 1 commit
  16. 24 Feb, 2013 2 commits
  17. 11 Feb, 2013 3 commits
  18. 28 Jan, 2013 3 commits
  19. 01 Sep, 2012 1 commit
  20. 22 Jul, 2012 1 commit
    • Aaron Lu's avatar
      mmc: core: reset signal voltage on power up · 108ecc4c
      Aaron Lu authored
      Add a call to mmc_set_signal_voltage() to set signal voltage to 3.3v in
      mmc_power_up so that we do not need to touch signal voltage setting in
      mmc/sd/sdio init functions and rescan function.
      
      For mmc/sd cards, when doing a suspend/resume cycle, consider the unsafe
      resume case, the card will lose its power and when powered on again, we
      will set signal voltage to 3.3v in mmc_power_up before its resume function
      gets called, which will re-init the card.
      
      And for sdio cards, when doing a suspend/resume cycle, consider the unsafe
      resume case, the card will either lose its power or not depending on if it
      wants to wakeup the host. If power is not maintained, it is the same case as
      mmc/sd cards. If power is maintained, mmc_power_up will not be called and
      the card's signal voltage will remain at the last setting.
      Signed-off-by: default avatarAaron Lu <aaron.lu@amd.com>
      Tested-by: default avatarVenkatraman S <svenkatr@ti.com>
      Signed-off-by: default avatarChris Ball <cjb@laptop.org>
      108ecc4c