aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/sdhci-s3c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
index 784c5a848fb4..de219ca7ea7c 100644
--- a/drivers/mmc/host/sdhci-s3c.c
+++ b/drivers/mmc/host/sdhci-s3c.c
@@ -121,7 +121,9 @@ static unsigned int sdhci_s3c_consider_clock(struct sdhci_s3c *ourhost,
121 * speed possible with selected clock source and skip the division. 121 * speed possible with selected clock source and skip the division.
122 */ 122 */
123 if (ourhost->no_divider) { 123 if (ourhost->no_divider) {
124 spin_unlock_irq(&ourhost->host->lock);
124 rate = clk_round_rate(clksrc, wanted); 125 rate = clk_round_rate(clksrc, wanted);
126 spin_lock_irq(&ourhost->host->lock);
125 return wanted - rate; 127 return wanted - rate;
126 } 128 }
127 129