OMAP3630: PM: don't warn the user with a trace in case of PM34XX_ERRATUM
In case in user has a OMAP3630 < ES1.2 the kernel should warn the user about the ERRATUM, but using pr_warn instead of WARN_ON is already enough, as there is nothing else the user can do besides changing the board. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
This commit is contained in:
parent
126f7e2992
commit
e16b41bfd5
2 changed files with 2 additions and 3 deletions
|
@ -464,7 +464,7 @@ void omap_init_power_states(void)
|
||||||
if (IS_PM34XX_ERRATUM(PM_SDRC_WAKEUP_ERRATUM_i583)) {
|
if (IS_PM34XX_ERRATUM(PM_SDRC_WAKEUP_ERRATUM_i583)) {
|
||||||
omap3_power_states[OMAP3_STATE_C7].valid = 0;
|
omap3_power_states[OMAP3_STATE_C7].valid = 0;
|
||||||
cpuidle_params_table[OMAP3_STATE_C7].valid = 0;
|
cpuidle_params_table[OMAP3_STATE_C7].valid = 0;
|
||||||
WARN_ONCE(1, "%s: core off state C7 disabled due to i583\n",
|
pr_warn("%s: core off state C7 disabled due to i583\n",
|
||||||
__func__);
|
__func__);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -928,8 +928,7 @@ void omap3_pm_off_mode_enable(int enable)
|
||||||
pwrst->pwrdm == core_pwrdm &&
|
pwrst->pwrdm == core_pwrdm &&
|
||||||
state == PWRDM_POWER_OFF) {
|
state == PWRDM_POWER_OFF) {
|
||||||
pwrst->next_state = PWRDM_POWER_RET;
|
pwrst->next_state = PWRDM_POWER_RET;
|
||||||
WARN_ONCE(1,
|
pr_warn("%s: Core OFF disabled due to errata i583\n",
|
||||||
"%s: Core OFF disabled due to errata i583\n",
|
|
||||||
__func__);
|
__func__);
|
||||||
} else {
|
} else {
|
||||||
pwrst->next_state = state;
|
pwrst->next_state = state;
|
||||||
|
|
Loading…
Add table
Reference in a new issue