[PATCH v3 17/18] Input: synaptics-rmi4 - smbus: on resume, try 3 times if init fails

2016-10-13 Thread Benjamin Tissoires
In some rare cases, we can't retrieve the SMBus version and so we fail binding the touchpad back. Instead of leaving a touchpad dead, try again to reinitialize it. Signed-off-by: Benjamin Tissoires --- no changes in v3 no changes in v2 ---

[PATCH v3 17/18] Input: synaptics-rmi4 - smbus: on resume, try 3 times if init fails

2016-10-13 Thread Benjamin Tissoires
In some rare cases, we can't retrieve the SMBus version and so we fail binding the touchpad back. Instead of leaving a touchpad dead, try again to reinitialize it. Signed-off-by: Benjamin Tissoires --- no changes in v3 no changes in v2 --- drivers/input/rmi4/rmi_smbus.c | 21