diff options
author | Jingle Wu <jingle.wu@emc.com.tw> | 2020-07-15 22:25:59 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2020-07-17 17:35:58 -0700 |
commit | fc7c882aa9b1643273c4bb77d31163355dcbc0b8 (patch) | |
tree | 31346b3244c1a5149ccce84e2696b515e37183f3 /crypto | |
parent | 77da21c5d3c698f5c9ce41d57c137244bc8b7b93 (diff) | |
download | linux-fc7c882aa9b1643273c4bb77d31163355dcbc0b8.tar.gz linux-fc7c882aa9b1643273c4bb77d31163355dcbc0b8.tar.bz2 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 'crypto')
0 files changed, 0 insertions, 0 deletions