[PATCH v2 0/7] mmc: sh_mmcif: Convert to use runtime PM at request idle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In a step in removing CONFIG_MMC_CLKGATE, host drivers can implement same
functionality through runtime PM. This patchset is converting the sh_mmcif
accordingly.

On the way, it was reasonable to include some minor cleanups to simplify code.
The first patch has beend sent through an another patchset recently, but since
it touches related code to this patchset, I decided to fold it in here as well.

An important note, this patchset has only been compile tested. I hope someone
can help out with proper testing.

Changes in v2:
	- Adapted "mmc: sh_mmcif: Move clock handling into runtime PM callbacks"
	patch to maintain behavior of handling clk_get_rate.
	- Rebased patches on top of the above change.

Ulf Hansson (7):
  mmc: sh_mmcif: Move away from using deprecated APIs
  mmc: sh_mmcif: Convert to PM macros when defining dev_pm_ops
  mmc: sh_mmcif: Convert to clk_prepare|unprepare
  mmc: sh_mmcif: Use runtime PM to keep resourses active during I/O
  mmc: sh_mmcif: Move clock handling into runtime PM callbacks
  mmc: sh_mmcif: Simplify clock and power setup in set_ios
  mmc: sh_mmcif: Extend clock gating routine for runtime suspend

 drivers/mmc/host/sh_mmcif.c |  138 ++++++++++++++++++++++++-------------------
 1 file changed, 76 insertions(+), 62 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux