Input: elan_i2c - use iap_version to get firmware information
authorDuson Lin <dusonlin@emc.com.tw>
Thu, 3 Sep 2015 16:46:45 +0000 (09:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 3 Sep 2015 17:00:16 +0000 (10:00 -0700)
When driver is in IAP mode ic_type query may return 0xff. However
iap_version will always be valid, so let's use it to determine parameters
of the firmware that the controller is supposed to accept.

Signed-off-by: Duson Lin <dusonlin@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

No differences found