diff options
author | Jingle Wu <jingle.wu@emc.com.tw> | 2020-07-16 08:25:59 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-07-18 03:35:58 +0300 |
commit | fc7c882aa9b1643273c4bb77d31163355dcbc0b8 (patch) | |
tree | 31346b3244c1a5149ccce84e2696b515e37183f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 77da21c5d3c698f5c9ce41d57c137244bc8b7b93 (diff) | |
download | linux-fc7c882aa9b1643273c4bb77d31163355dcbc0b8.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions