]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
usb: host: tegra: defer ehci cpu freq. boost work
authorShreshtha Sahu <ssahu@nvidia.com>
Wed, 28 Aug 2013 11:55:38 +0000 (17:25 +0530)
committerShreshtha Sahu <ssahu@nvidia.com>
Mon, 28 Oct 2013 07:06:11 +0000 (00:06 -0700)
commit9ff4716cceb88a19cf84a1d8d049085502069f3e
treecd845a6638000421d6fc716249e9de9c32e1bae1
parent312973cae19cbc925440536a245a0145252f6fde
usb: host: tegra: defer ehci cpu freq. boost work

Delayed work is getting executed even before DVFS initialization
(which happens in late_initcall after all devices initialization
has completed). So device fails in changing the CPU rate, as
regulator is still not present, with following warning -

"Increasing CPU rate while regulator is not ready is not allowed"

Currently DVFS initialization, initializes both CPU and Core, and
only Core is dependent on completion of device initialization.
So ideally CPU init. can be done much earlier which will resolve
this issue. This is still under discussion.

This patch defers the cpu rate change by ehci even further so that
DVFS initialization gets completed before pm_qos_update_request.

Bug 1352877

Change-Id: Ia21af01c4bc915e1120fc72917428d9fdc26b38d
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/304198
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/host/ehci-tegra.c