Input: synaptics-rmi4 - add sysfs attribute update_fw_status
authorNick Dyer <nick@shmanahar.org>
Tue, 31 Jan 2017 23:25:56 +0000 (15:25 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 31 Jan 2017 23:51:21 +0000 (15:51 -0800)
commit5a89916df2c8d2635b82a457cd4945dd73c1de3c
treedcaf9a4e4696cb9e15732198c00b61bee219282c
parented77bdf4e4bea810014cdf68b771bcbe3d47163f
Input: synaptics-rmi4 - add sysfs attribute update_fw_status

The attribute returns the percentage complete. If the firmware update fails, it
reports a negative error code.

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Tested-by: Chris Healy <cphealy@gmail.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f34.c
drivers/input/rmi4/rmi_f34.h
drivers/input/rmi4/rmi_f34v7.c