diff options
| author | 2020-07-15 22:25:59 -0700 | |
|---|---|---|
| committer | 2020-07-17 17:35:58 -0700 | |
| commit | fc7c882aa9b1643273c4bb77d31163355dcbc0b8 (patch) | |
| tree | 31346b3244c1a5149ccce84e2696b515e37183f3 /scripts/gdb/linux/genpd.py | |
| parent | Input: elan_i2c - handle firmware not implementing "get pattern" command (diff) | |
| download | wireguard-linux-fc7c882aa9b1643273c4bb77d31163355dcbc0b8.tar.xz wireguard-linux-fc7c882aa9b1643273c4bb77d31163355dcbc0b8.zip | |
Input: elan_i2c - make fetching IC type of older controllers more robust
On older controllers IC type is reported in the 2nd byte of
ETP_I2C_OSM_VERSION_CMD, however if controller's firmware is not flashed
correctly it may return incorrect data. Fortunately there is also
ETP_I2C_IAP_VERSION_P0_CMD command that can be used when controller in
either normal or IAP mode, and which is guaranteed to return accurate data,
so let's use it.
Signed-off-by: Jingle Wu <jingle.wu@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions
