mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-08 00:01:05 +02:00
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. CRs-Fixed: 589295 Change-Id: I560e2df53d258e273ff9890c7c62b90a58a423f7 Signed-off-by: c_sgarna <c_sgarna@codeaurora.org>