mmc: sh_mmcif: support aggressive clock gating
commitf5e0cec4495398b259b3ede7cbc3ce4bd0e1cef0
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 25 Feb 2011 15:58:38 +0000 (25 16:58 +0100)
committerChris Ball <cjb@laptop.org>
Wed, 16 Mar 2011 16:30:25 +0000 (16 12:30 -0400)
tree1ba09ad3756365de0fcd64185592014e33e5376e
parentb676f0391a5f6816c047cbd1e2ad2a897f3c161a
mmc: sh_mmcif: support aggressive clock gating

To support MMC aggressive clock gating the driver has to stop the
interface clock when the .set_ios() method is called with .clock == 0.

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