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

Commit 8ca4a3e9 authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian
Browse files

msm-core: Unregister uio device on failed probe



In certain error scenarios, the probe function returns error code without
actually freesing the uio device. This could result in a panic when
userspace accesses the uio device.

Fix by freeing the uio device on faileed probe.

Change-Id: I20af803a10407206759d3aeeac5bf59f674b3d04
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent 41747adc
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