Skip to content
Commit c288b855 authored by Linus Walleij's avatar Linus Walleij Committed by Chris Ball
Browse files

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: default avatarLinus Walleij <linus.walleij@stericsson.com>
Tested-by: default avatarChris Ball <cjb@laptop.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 253e0a7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment