diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 4ef30120be4d..412a81fdf3ad 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -515,7 +515,7 @@ static int mmc_devfreq_set_target(struct device *dev, *freq, current->comm); spin_lock_bh(&clk_scaling->lock); - if (clk_scaling->target_freq == *freq || + if (clk_scaling->curr_freq == *freq || clk_scaling->skip_clk_scale_freq_update) { spin_unlock_bh(&clk_scaling->lock); goto out;