]> 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)
commit9241419ffeed5894668f5fd66598a23143372cb6
tree922e8a99e078bac2ac882ca5824924f3aa93b1e7
parentfb8a787bf0cf74da81856134fc0f70e5d29cb5ab
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