mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
msm: dma: Update the clk gating timeout to 100msec from 1sec.
As part of LPAII, the power profiling showed that having 100msec timeout is letting the AXI switch to low frequency as soon as the APROC collapses. Having this timeout as 1 sec is pushing the AXI to stay high for longer time hence causing more power drain. Hence with this change this time out is updated to 100msec. Change-Id: I4aaf8e1ba5c177e4a77291f13a8ecd0fbc6e6130 Signed-off-by: Krishna Vanka <kvanka@codeaurora.org>
This commit is contained in:
parent
e8ba7eadf5
commit
3fad359855
1 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ static void msm_dmov_enqueue_cmd_ext_work(struct work_struct *work)
|
|||
}
|
||||
if (!dmov_conf[adm].channel_active) {
|
||||
dmov_conf[adm].clk_ctl = CLK_TO_BE_DIS;
|
||||
schedule_delayed_work(&dmov_conf[adm].work, HZ);
|
||||
schedule_delayed_work(&dmov_conf[adm].work, (HZ/10));
|
||||
}
|
||||
spin_unlock_irqrestore(&dmov_conf[adm].list_lock, flags);
|
||||
error:
|
||||
|
@ -573,7 +573,7 @@ static irqreturn_t msm_dmov_isr(int irq, void *dev_id)
|
|||
if (!dmov_conf[adm].channel_active && valid) {
|
||||
disable_irq_nosync(dmov_conf[adm].irq);
|
||||
dmov_conf[adm].clk_ctl = CLK_TO_BE_DIS;
|
||||
schedule_delayed_work(&dmov_conf[adm].work, HZ);
|
||||
schedule_delayed_work(&dmov_conf[adm].work, (HZ/10));
|
||||
}
|
||||
|
||||
mutex_unlock(&dmov_conf[adm].lock);
|
||||
|
|
Loading…
Reference in a new issue