aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-06-29 14:27:39 -0700
committerColin Cross <ccross@android.com>2011-06-29 14:27:39 -0700
commit7423276e38ec62563970456ec280cf5f922141dc (patch)
tree58aa730bb2722c4a89a310d7f6f418fccbce3f71
parentccab33d90006345c33012831514d7bbd2638d66a (diff)
downloadkernel_samsung_tuna-7423276e38ec62563970456ec280cf5f922141dc.zip
kernel_samsung_tuna-7423276e38ec62563970456ec280cf5f922141dc.tar.gz
kernel_samsung_tuna-7423276e38ec62563970456ec280cf5f922141dc.tar.bz2
ARM: omap4: emif: Reduce logspam using pr_err_once
Convert the message "emif: voltage state notification came before the initial setup - ignoring the notification" to a pr_err_once. Change-Id: I1f54223759bae691e0de70c2f55417b98042b08f Signed-off-by: Colin Cross <ccross@android.com>
-rw-r--r--arch/arm/mach-omap2/emif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/emif.c b/arch/arm/mach-omap2/emif.c
index ae0d710..79ae532 100644
--- a/arch/arm/mach-omap2/emif.c
+++ b/arch/arm/mach-omap2/emif.c
@@ -1159,7 +1159,7 @@ int omap_emif_notify_voltage(struct notifier_block *nb,
volt_state);
if (unlikely(!emif_curr_regs[EMIF1] && !emif_curr_regs[EMIF2])) {
- pr_err("emif: voltage state notification came before the"
+ pr_err_once("emif: voltage state notification came before the"
" initial setup - ignoring the notification");
return -EINVAL;
}