diff options
author | Linus Walleij <linus.ml.walleij@gmail.com> | 2010-12-22 09:50:12 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-09 05:52:22 +0100 |
commit | c288b85554097a3d1271f935c48b442280b2db9e (patch) | |
tree | 1ae03edf8864c2d5260d2cc875317bbecc1673c2 /drivers/mmc/host/sdhci.c | |
parent | mmc: sdhci-s3c: Support controllers with no internal clock divider (diff) | |
download | linux-c288b85554097a3d1271f935c48b442280b2db9e.tar.xz linux-c288b85554097a3d1271f935c48b442280b2db9e.zip |
mmc: check for > 1 clk_requests when disabling gating
Since we make sure the clock is enabled in the mmc_host_clk_exit()
function we should expect a reference counter of 1, not 0.
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Tested-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
0 files changed, 0 insertions, 0 deletions