• Daniel Drake's avatar
    Input: elan_i2c - don't require known iap version · 9d7b03f8
    Daniel Drake authored
    The Asus X456UA has an ELAN1000 touchpad with IAP version 0xe.  This is
    unknown to elan_get_fwinfo() so driver probe fails and I am left with an
    unusable touchpad.
    
    However, the fwinfo is not required for general driver usage, it is only
    needed if the user decides to upload new firmware.
    
    Adjust the driver so that we do not abort probe when we encounter
    unexpected IAP version, but rather warn user that firmware update feature
    of the driver will not work.
    Signed-off-by: default avatarDaniel Drake <drake@endlessm.com>
    Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    9d7b03f8
elan_i2c_core.c 29 KB