]> git.karo-electronics.de Git - linux-beck.git/commit
Input: elan_i2c - return error code when resume fails
authorDuson Lin <dusonlin@emc.com.tw>
Sun, 8 Mar 2015 04:57:54 +0000 (20:57 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 8 Mar 2015 05:11:51 +0000 (21:11 -0800)
commitb3beed7fe83b077291aa32d1f3006c8480f6344b
tree6d45d2181ab82076b92e770243a2d68252688ae1
parentceb5b6c8bee4841abac9e010c6069934d0f7c996
Input: elan_i2c - return error code when resume fails

In order to better diagnose potential issues let's return error to the
upper layers when resuming the device fails and also add a few diagnostic
messages.

Signed-off-by: Duson Lin <dusonlin@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_core.c
drivers/input/mouse/elan_i2c_i2c.c