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

Skip to content
Commit 15e46a1c authored by Eric Holmberg's avatar Eric Holmberg
Browse files

char: msm_smd_pkt: Add warning to driver removal function



The current implementation of smd_pkt_remove_driver does
not check to see if it has found the driver to be removed
in the module's list of drivers before attempting removal.

Add a flag that indicates whether or not the driver
was found in the list before removal is attempted. If
no driver is found, an error message is logged, and the
removal is not attempted.

Change-Id: If8bab26dc5f06ce9c4027945200d62a1a2902eeb
Signed-off-by: default avatarEric Holmberg <eholmber@codeaurora.org>
parent 438a0c76
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