diff options
author | Dudley Du <dudl@cypress.com> | 2016-03-04 11:23:09 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-03-04 11:32:13 -0800 |
commit | 3cd47869431d7402d0613cf0f7fbb392f2b97565 (patch) | |
tree | 295eebb05b77b62f3b64ee8112b83b4e11980198 /arch/m32r/platforms | |
parent | 5186b8c41a89fd071f8d036b41ec4b68fbcf2e4d (diff) | |
download | blackbird-op-linux-3cd47869431d7402d0613cf0f7fbb392f2b97565.tar.gz blackbird-op-linux-3cd47869431d7402d0613cf0f7fbb392f2b97565.zip |
Input: cyapa - fix for losing events during device power transitions
When changing the scan rate as part of runtime-resume process we may lose
some of the events, because:
1) for gen3 trackpads, the driver must msleep() some time to ensure that
the device is ready to accept next command;
2) for gen5 and later trackpads, the queue dumping function will simply
ignore the events when waiting for the set power mode command response.
The solution is to keep polling and report those valid events when the set
power mode command is in progress.
Signed-off-by: Dudley Du <dudl@cypress.com>
Tested-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'arch/m32r/platforms')
0 files changed, 0 insertions, 0 deletions