mmc: check for > 1 clk_requests when disabling gating
authorLinus Walleij <linus.ml.walleij@gmail.com>
Wed, 22 Dec 2010 08:50:12 +0000 (09:50 +0100)
committerChris Ball <cjb@laptop.org>
Sun, 9 Jan 2011 04:52:22 +0000 (23:52 -0500)
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>

No differences found