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

Skip to content
Commit 2e662a5b authored by Mohan Pallaka's avatar Mohan Pallaka Committed by Stephen Boyd
Browse files

input: cyttsp-i2c-qc: Add mutex_init call before chip init



Chip initialization routine registers device files to upgrade
firmware. The firmware upgrade routine uses mutex for locking
but as mutex is initialized after chip init we see some random
crashes. Fix this issue by calling mutex_init() before
cyttsp_initialize().

Change-Id: I34afdb04b1ea8a9912fff998128b26a309346e9b
Signed-off-by: default avatarMohan Pallaka <mpallaka@codeaurora.org>
parent 9d3f1a4d
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