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

Commit d0699909 authored by c_sgarna's avatar c_sgarna Committed by Sudhakar Manapati
Browse files

input: synaptics_i2c_rmi4: Reinitialize list after freeing it



During firmware update and device reset through sysfs, query info
needs to be updated in support_fn_list. However, both these procedures
free the existing list before updation without setting its list head
to consistent state. Reinitialize the list head of support_fn_list
to avoid memory fault during updation.

This patch is propagated from msm-3.10 kernel
(commit: 43220f8e2b60db0131987e5c7d79187e410f519e
input: synaptics_i2c_rmi4: Reinitialize list after freeing it)

CRs-Fixed: 589295
Change-Id: I560e2df53d258e273ff9890c7c62b90a58a423f7
Signed-off-by: default avatarc_sgarna <c_sgarna@codeaurora.org>
Signed-off-by: default avatarSudhakar Manapati <smanap@codeaurora.org>
parent dd634e61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment