i2c-msm-v2: decrease runtime pm time to 250msec
Runtime-pm autosuspend delay is set to 1 second. This long period is used to avoid thrashing due to long time it takes for bus-pm voting. The period is reduced to a quarter to optimize power. This number is tested for trade-off between power and performance. Change-Id: I973495e23852f1caefb981b1d8f26da5f09ca7bc Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
This commit is contained in:
parent
164661cbb4
commit
3741b8ab0d
1 changed files with 1 additions and 1 deletions
|
@ -2748,7 +2748,7 @@ static int i2c_msm_pm_sys_resume_noirq(struct device *dev)
|
||||||
static void i2c_msm_pm_rt_init(struct device *dev)
|
static void i2c_msm_pm_rt_init(struct device *dev)
|
||||||
{
|
{
|
||||||
pm_runtime_set_suspended(dev);
|
pm_runtime_set_suspended(dev);
|
||||||
pm_runtime_set_autosuspend_delay(dev, MSEC_PER_SEC);
|
pm_runtime_set_autosuspend_delay(dev, (MSEC_PER_SEC >> 2));
|
||||||
pm_runtime_use_autosuspend(dev);
|
pm_runtime_use_autosuspend(dev);
|
||||||
pm_runtime_enable(dev);
|
pm_runtime_enable(dev);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue