]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mmcif: fix clock management
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 19 Apr 2012 16:02:05 +0000 (18:02 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 21 Jul 2012 04:02:13 +0000 (00:02 -0400)
commit240b513c81aabc95f561982fc13dd4ff43b1e613
tree922e8a99e078bac2ac882ca5824924f3aa93b1e7
parent2270aafef772db0eb3aa88ce0e4507e820291d75
mmc: sh_mmcif: fix clock management

Regardless of whether the MMC bus clock is the same as the PM clock on
this specific interface, it has to be managed separately. Its proper
management should also include enabling and disabling of the clock,
whenever the interface is becoming active or going idle respectively.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c