Skip to content
Snippets Groups Projects
Commit cbca5fe1 authored by Ariel Yin's avatar Ariel Yin Committed by Richard Chang
Browse files

input: touchscreen: gt9xx: fix memory corruption in Goodix driver


Fix memory corruption in Goodix touchscreen driver, by resetting
the global structure cmd_head to zero (except *data and wr flag)
in goodix_tool_write handler on error case.

Change-Id: I4f7f8f464b93571627b922b10c10a65826228e42
Signed-off-by: default avatarVevek Venkatesan <vevekv@codeaurora.org>
Bug: 32749036
parent 565101c2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment