diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2019-07-05 12:55:03 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-07 18:59:26 +0200 |
commit | b0a68c63887547fd190faa87c2c398b362b304f7 (patch) | |
tree | 05dfa55ae141d549aa49ad7c73ed8d2c459f6ab9 /drivers/pci/pci-stub.c | |
parent | b6cb1efe18cc4d6cd75d0af2474b5176fadbbdf3 (diff) | |
download | linux-stable-b0a68c63887547fd190faa87c2c398b362b304f7.tar.gz linux-stable-b0a68c63887547fd190faa87c2c398b362b304f7.tar.bz2 linux-stable-b0a68c63887547fd190faa87c2c398b362b304f7.zip |
mfd: intel-lpss: Remove D3cold delay
[ Upstream commit 76380a607ba0b28627c9b4b55cd47a079a59624b ]
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>
Diffstat (limited to 'drivers/pci/pci-stub.c')
0 files changed, 0 insertions, 0 deletions