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

Skip to content
Commit fe6200d9 authored by Mao Jinlong's avatar Mao Jinlong Committed by Gerrit - the friendly Code Review server
Browse files

tmc-etr: Add ETR status check in usb_notifier



It is possible that notify call is called after etr is disabled or
after mode switch from usb to etr. Add etr status check to avoid
exception.

Change-Id: I4feb36df28b6fc059598af98b6fb9ccf698d3aaf
Signed-off-by: default avatarMao Jinlong <jinlmao@codeaurora.org>
parent 2be90ffb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment