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)
commitb289174ff70a591545a054d52ae081a75a73f085
tree922e8a99e078bac2ac882ca5824924f3aa93b1e7
parente1aae2eb3f7c446a2680a3a0ccd05aa50521b4e2
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