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

Skip to content
Commit b111da74 authored by Girish Mahadevan's avatar Girish Mahadevan
Browse files

msm: msm_bus: Improve defensive checks for adhoc driver



Ensure that the current index is defaulted to 0 when unregistering
the client if the current index value is invalid. Also check
that bus find device returns a valid device pointer before proceeding.

Change-Id: I62cf5d0da9e2cc853b6e82cb9d029142d86c18e3
Signed-off-by: default avatarGirish Mahadevan <girishm@codeaurora.org>
parent e4b5be8f
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