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

Commit 740d13fc authored by Kranthikumar Kurapati's avatar Kranthikumar Kurapati Committed by Gerrit - the friendly Code Review server
Browse files

msm: thermal: Fix zone id to tsens map lookup



Fix null pointer dereference due to non-initialization
of tsens lookup table.

If tsens map lookup table is not initialized, assign
zone_id to tsens_id.

Change-Id: I911bcc2527bd8e00462f7428d8dead4286368fa1
Acked-by: default avatarJim Granitzki <jamesg@qti.qualcomm.com>
Signed-off-by: default avatarKranthikumar Kurapati <kkurap@codeaurora.org>
parent 848b312e
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