Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c85b82f authored by Amy Maloche's avatar Amy Maloche Committed by Abinaya P
Browse files

input: synaptics_i2c_rmi4: Read config ID correctly



Config ID uses 4 bytes, not 8.  Read this value w/4 bytes
to avoid extra reads.

This patch is a propagated patch from 3.4 kernel
commit - 581f74031eaa9046b26bf987c65a3e3b4710f9c8,
input: synaptics_i2c_rmi4: Read config ID correctly

Change-Id: Idab21afbd8ed37e16d9e6ce80ae7641df19d04e6
Signed-off-by: default avatarAmy Maloche <amaloche@codeaurora.org>
parent 5afdb009
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1528,7 +1528,7 @@ static ssize_t fwu_sysfs_disp_config_block_count_show(struct device *dev,
static ssize_t fwu_sysfs_config_id_show(struct device *dev,
		struct device_attribute *attr, char *buf)
{
	unsigned char config_id[8];
	unsigned char config_id[4];
	/* device config id */
	fwu->fn_ptr->read(fwu->rmi4_data,
				fwu->f34_fd.ctrl_base_addr,