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

Skip to content
Commit 4201df72 authored by Hemant Kumar's avatar Hemant Kumar Committed by Gerrit - the friendly Code Review server
Browse files

mhi: core: Add NULL check in debugfs show callback



Upon external soc power down mhi controller context pointer
is set to NULL. If debugfs query is issued at that time it
results into NULL pointer dereference. Fix the issue by adding
a NULL check in debugfs show callback for event and channel.

Change-Id: I8c947bc6c42e80c625bf06c17e73368d2195a2bb
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 2a98f234
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