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

Commit 40efa253 authored by Vevek Venkatesan's avatar Vevek Venkatesan
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>
parent 8b5bb77c
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