diff options
author | Nick Dyer <nick@shmanahar.org> | 2017-02-01 02:25:56 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-02-01 02:51:21 +0300 |
commit | 5a89916df2c8d2635b82a457cd4945dd73c1de3c (patch) | |
tree | dcaf9a4e4696cb9e15732198c00b61bee219282c /drivers/input/rmi4/rmi_f34.h | |
parent | ed77bdf4e4bea810014cdf68b771bcbe3d47163f (diff) | |
download | linux-5a89916df2c8d2635b82a457cd4945dd73c1de3c.tar.xz |
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>
Diffstat (limited to 'drivers/input/rmi4/rmi_f34.h')
-rw-r--r-- | drivers/input/rmi4/rmi_f34.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/rmi4/rmi_f34.h b/drivers/input/rmi4/rmi_f34.h index 2c21056dc375..43a91349b28d 100644 --- a/drivers/input/rmi4/rmi_f34.h +++ b/drivers/input/rmi4/rmi_f34.h @@ -301,6 +301,10 @@ struct f34_data { unsigned char bootloader_id[5]; unsigned char configuration_id[CONFIG_ID_SIZE*2 + 1]; + int update_status; + int update_progress; + int update_size; + union { struct f34v5_data v5; struct f34v7_data v7; |