summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSakethram Bommisetti <sakethram.bommisetti@stericsson.com>2011-09-12 11:25:25 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:03:07 +0200
commit8c6a1ab20ca39b4d7f337c207e04f08cb2fed423 (patch)
tree6a7c70ca5fa1761e6ee18b87b02a03bb53773f16
parentbfa8fffa3cd7da098ee89a6498897d03459d0c5b (diff)
U8500:USB:Fix for wrong handling of QOS
Updating the QOS entry rather than creating a new one. ST-Ericsson ID: NA ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> Change-Id: I89cc6ddb154c13cd5e9e34d31adba7eef791acfc Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30620 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
-rw-r--r--drivers/usb/otg/ab8500-usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/otg/ab8500-usb.c b/drivers/usb/otg/ab8500-usb.c
index b6ec661c9aa..28752bd4b90 100644
--- a/drivers/usb/otg/ab8500-usb.c
+++ b/drivers/usb/otg/ab8500-usb.c
@@ -174,7 +174,7 @@ static void ab8500_usb_phy_enable(struct ab8500_usb *ab, bool sel_host)
clk_enable(ab->sysclk);
ab8500_usb_regulator_ctrl(ab, sel_host, true);
- prcmu_qos_add_requirement(PRCMU_QOS_APE_OPP,
+ prcmu_qos_update_requirement(PRCMU_QOS_APE_OPP,
(char *)dev_name(ab->dev), 100);
abx500_mask_and_set_register_interruptible(ab->dev,
@@ -221,7 +221,7 @@ static void ab8500_usb_phy_disable(struct ab8500_usb *ab, bool sel_host)
ab->usb_gpio->disable();
- prcmu_qos_add_requirement(PRCMU_QOS_APE_OPP,
+ prcmu_qos_update_requirement(PRCMU_QOS_APE_OPP,
(char *)dev_name(ab->dev), 50);
}