aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMike Turquette <mturquette@ti.com>2011-06-22 14:37:14 -0700
committerNishanth Menon <nm@ti.com>2011-06-29 13:30:41 -0700
commit99a00bde95d1e305d5c862911bffed4322b6f544 (patch)
tree08437de663938155fd23de16741110d8ab7c716e /arch/arm
parentb0c0771b4813808694c82f4f985791fb88eceb8b (diff)
downloadkernel_samsung_tuna-99a00bde95d1e305d5c862911bffed4322b6f544.zip
kernel_samsung_tuna-99a00bde95d1e305d5c862911bffed4322b6f544.tar.gz
kernel_samsung_tuna-99a00bde95d1e305d5c862911bffed4322b6f544.tar.bz2
OMAP2+: voltage: make warning in get_voltdata useful
omap_voltage_get_voltdata complains if it can not find the supplied voltage in the voltage table with a notice stating which voltage domain had the issue. It is also useful to know what the supplied voltage was in such situations. Fixed by adding the voltage parameter to the trace. Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mike Turquette <mturquette@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/voltage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/voltage.c b/arch/arm/mach-omap2/voltage.c
index c7057f9..89cda23 100644
--- a/arch/arm/mach-omap2/voltage.c
+++ b/arch/arm/mach-omap2/voltage.c
@@ -240,8 +240,8 @@ struct omap_volt_data *omap_voltage_get_voltdata(struct voltagedomain *voltdm,
return &vdd->volt_data[i];
}
- pr_notice("%s: Unable to match the current voltage with the voltage"
- "table for vdd_%s\n", __func__, voltdm->name);
+ pr_notice("%s: Unable to match the current voltage %lu with the voltage"
+ "table for vdd_%s\n", __func__, volt, voltdm->name);
return ERR_PTR(-ENODATA);
}