rk30:sdk: dvfs add err info when current voltage out of bound
authorchenxing <chenxing@rock-chips.com>
Wed, 15 Aug 2012 10:39:11 +0000 (18:39 +0800)
committerchenxing <chenxing@rock-chips.com>
Wed, 15 Aug 2012 10:39:11 +0000 (18:39 +0800)
arch/arm/mach-rk30/dvfs.c

index f1fc2eafe714c944923c563eb70ff142dbc8271b..a2838794d26485f07b13edde68a424166c7845fb 100644 (file)
@@ -929,7 +929,7 @@ int dvfs_scale_volt_bystep(struct vd_node *vd_clk, struct vd_node *vd_dep, int v
 \r
        if (check_volt_correct(volt_old, &volt_new, volt_dep_old, &volt_dep_new, \r
                                clk_biger_than_dep, dep_biger_than_clk) < 0) {\r
-               DVFS_ERR("CURRENT VOLT INCORRECT\n");\r
+               DVFS_ERR("CURRENT VOLT INCORRECT, VD=%s, VD_DEP=%s\n", vd_clk->name, vd_dep->name);\r
                return -1;\r
        }\r
        DVFS_DBG("ENTER %s, volt=%d(old=%d), volt_dep=%d(dep_old=%d)\n", __func__, \r