diff options
author | Kai-Heng Feng <[email protected]> | 2018-11-14 07:24:57 +0000 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2018-11-19 16:27:00 +0100 |
commit | 86c31524b27c7e686841dd4a79eda95cfd989f16 (patch) | |
tree | a4fcc4d71e30124ae397bf0cfe6a9f379a6f4577 /net/nsh/nsh.c | |
parent | 12d43aacf9a74d0eb66fd0ea54ebeb79ca28940f (diff) |
HID: i2c-hid: Disable runtime PM for LG touchscreen
LG touchscreen (1fd2:8001) stops working after reboot:
[ 4.859153] i2c_hid i2c-SAPS2101:00: i2c_hid_get_input: incomplete report (64/66)
[ 4.936070] i2c_hid i2c-SAPS2101:00: i2c_hid_get_input: incomplete report (64/66)
[ 9.948224] i2c_hid i2c-SAPS2101:00: failed to reset device.
The device in question stops working after receives SLEEP, ON, SLEEP
commands in a short period. The scenario is like this:
- Once the desktop session closes, it also closed the hid device, so the
device gets runtime suspended and receives a SLEEP command.
- Before calling shutdown callback, it gets runtime resumed and received
an ON command.
- In the shutdown callback, it receives another SLEEP command.
I failed to find a reliable interval between ON/SLEEP commands that can
make it work, so let's simply disable runtime PM for the device.
Signed-off-by: Kai-Heng Feng <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions