mmc: core: avoid returning error value for clk-scaling
This change removes the error value (-EAGAIN) that is returned in case of invalid state for clock scaling. Invalid state for clock scaling doesn't mean its an error, it merely means that at the current time we won't scale. Devfreq will invoke scaling in next interval. Change-Id: Idbd785da83e6ed00ede2b1b09529f7c81714ccf8 Signed-off-by: Talel Shenhar <tatias@codeaurora.org>
This commit is contained in:
parent
420061a55c
commit
6cfee5b81f
1 changed files with 0 additions and 1 deletions
|
@ -442,7 +442,6 @@ int mmc_clk_update_freq(struct mmc_host *host,
|
|||
if (!mmc_is_vaild_state_for_clk_scaling(host)) {
|
||||
pr_debug("%s: invalid state for clock scaling - skipping",
|
||||
mmc_hostname(host));
|
||||
err = -EAGAIN;
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue