1. 28 4月, 2011 2 次提交
  2. 31 3月, 2011 1 次提交
  3. 25 3月, 2011 1 次提交
  4. 18 3月, 2011 3 次提交
  5. 17 3月, 2011 2 次提交
  6. 16 3月, 2011 6 次提交
  7. 09 3月, 2011 1 次提交
  8. 08 3月, 2011 1 次提交
  9. 09 1月, 2011 13 次提交
  10. 24 12月, 2010 1 次提交
    • T
      mmc: update workqueue usages · 0d9ee5b2
      Tejun Heo 提交于
      Workqueue creation API has been updated and flush_scheduled_work() is
      deprecated and scheduled to be removed.
      
      * core/core.c: Use alloc_ordered_workqueue() instead of
        create_singlethread_workqueue().  This removes an unnecessary
        rescuer.
      
      * host/omap.c: Create, use and flush mmc_omap_wq instead of the
        system_wq.
      
      * Flush host->mmc_carddetect_work directly on removal instead of using
        flush_scheduled_work().
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: linux-mmc@vger.kernel.org
      0d9ee5b2
  11. 22 12月, 2010 1 次提交
  12. 20 11月, 2010 2 次提交
  13. 12 11月, 2010 1 次提交
  14. 08 11月, 2010 1 次提交
  15. 23 10月, 2010 4 次提交
    • A
      mmc: add a file to debugfs for changing host clock at runtime · 703aae3d
      Andy Shevchenko 提交于
      For debugging power management features it is convenient to have the
      possibility of changing the MMC host controller clock at runtime.  This
      patch adds a 'clock' file for this under the MMC host root of debugfs.
      
      Usage is as follows:
      
      	# cat /sys/kernel/debug/mmc0/clock
      	52000000
      
      	# echo "1000000000" > /sys/kernel/debug/mmc0/clock
      	# cat /sys/kernel/debug/mmc0/clock
      	52000000
      
      	# echo "48000000" > /sys/kernel/debug/mmc0/clock
      	# cat /sys/kernel/debug/mmc0/clock
      	48000000
      
      The middle example shows limits being applied by the host driver.
      Signed-off-by: NAndy Shevchenko <ext-andriy.shevchenko@nokia.com>
      Cc: Adrian Hunter <adrian.hunter@nokia.com>
      [cjb: modify changelog language]
      Signed-off-by: NChris Ball <cjb@laptop.org>
      703aae3d
    • O
      mmc: sdio: support suspend/resume while runtime suspended · ed2a9785
      Ohad Ben-Cohen 提交于
      Bring SDIO devices back to full power before their suspend
      handler is invoked.
      
      Doing so ensures that SDIO suspend/resume semantics are
      maintained (drivers still get to decide whether their
      card should be removed or kept during system suspend,
      and at what power state), and that SDIO suspend/resume
      execution paths are unchanged.
      
      This is achieved by resuming a runtime-suspended SDIO device
      in its ->prepare() PM callback (similary to the PCI subsystem).
      
      Since the PM core always increments the run-time usage
      counter before calling the ->prepare() callback and decrements
      it after calling the ->complete() callback, it is guaranteed
      that when the system will come out of suspend, our device's
      power state will reflect its runtime PM usage counter.
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Tested-by: NLuciano Coelho <luciano.coelho@nokia.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      ed2a9785
    • O
      mmc: sdio: ensure mmc_sdio_detect is powered · 87973ba2
      Ohad Ben-Cohen 提交于
      To prevent an erroneous removal of the card, make sure
      the device is powered when it is mmc_sdio_detect()ed.
      
      This is required since mmc_sdio_detect may be invoked
      while the device is runtime suspended (e.g., MMC core
      is rescanning when system comes out of suspend).
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Tested-by: NLuciano Coelho <luciano.coelho@nokia.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      87973ba2
    • O
      mmc: sdio: enable runtime PM for SDIO functions · 40bba0c1
      Ohad Ben-Cohen 提交于
      Enable runtime PM for SDIO functions.
      
      SDIO functions are initialized with a disabled runtime PM state,
      and are set active (and their usage count is incremented)
      only before potential drivers are probed.
      
      SDIO function drivers that support runtime PM should call
      pm_runtime_put_noidle() in their probe routine, and
      pm_runtime_get_noresume() in their remove routine (very
      similarly to PCI drivers).
      
      In case a matching driver does not support runtime PM, power will
      always be kept high (since the usage count is positive).
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      Tested-by: NLuciano Coelho <luciano.coelho@nokia.com>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      40bba0c1