ARM: 7623/1: mmc: mmci: Fixup clock gating when freq is 0 for ST-variants
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jan 2013 16:19:54 +0000 (17:19 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Jan 2013 10:17:00 +0000 (10:17 +0000)
commitf4670daef5e81aa312f5a18f571dbd8169ce079e
treec4e2bb8d20c215851312ff7955154e32af7a0f48
parent8259293aee1d44d7ebf0c644ef48db835653ebc3
ARM: 7623/1: mmc: mmci: Fixup clock gating when freq is 0 for ST-variants

In the ST Micro variant, the MMCICLOCK register must not be used to
gate the clock. Instead use MMCIPOWER register and by clearing the
PWR_ON bit to do this.

Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c