Skip to content

Commit 6be4230

Browse files
Kai-Heng Fenggregkh
authored andcommitted
mfd: intel-lpss: Remove D3cold delay
[ Upstream commit 76380a6 ] Goodix touchpad may drop its first couple input events when i2c-designware-platdrv and intel-lpss it connects to took too long to runtime resume from runtime suspended state. This issue happens becuase the touchpad has a rather small buffer to store up to 13 input events, so if the host doesn't read those events in time (i.e. runtime resume takes too long), events are dropped from the touchpad's buffer. The bottleneck is D3cold delay it waits when transitioning from D3cold to D0, hence remove the delay to make the resume faster. I've tested some systems with intel-lpss and haven't seen any regression. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=202683 Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 22a5fd6 commit 6be4230

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/mfd/intel-lpss-pci.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ static int intel_lpss_pci_probe(struct pci_dev *pdev,
3535
info->mem = &pdev->resource[0];
3636
info->irq = pdev->irq;
3737

38+
pdev->d3cold_delay = 0;
39+
3840
/* Probably it is enough to set this for iDMA capable devices only */
3941
pci_set_master(pdev);
4042
pci_try_set_mwi(pdev);

0 commit comments

Comments
 (0)