]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mobile_sdhi: do not manage PM clocks manually
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 9 Feb 2012 21:57:15 +0000 (22:57 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:18 +0000 (12:20 -0400)
commit963920c50c2b40c26b67509f41b0d123f1d3d008
treedf1464e2deb54640669fdc5c449f4f0743c2888b
parenta7886e5bb224c758e6cb59d15a38b4d2f8fd1c1a
mmc: sh_mobile_sdhi: do not manage PM clocks manually

On sh-mobile platforms the MMC clock frequency for the TMIO MMC unit is
obtained from the same clock, as the one, that runtime power-manages the
controller. The SDHI glue code has to access that clock directly,
bypassing the runtime PM framework, to get its frequency, but it
shouldn't enable or disable it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c