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

Skip to content
Commit 80f77182 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: ramdump: Add destroy_ramdump_device() function



If an SSR driver is detached there is no way to free the ramdump
device that is allocated in create_ramdump_device(). Add a
destroy_ramdump_device() function to clean up memory. Admittedly
this doesn't try to solve the race condition in destroying the
device while do_ramdump() is in progress, but it is a good first
start.

Change-Id: Ib46ac8589a9ae7405441328eb9bfa0353362513a
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 865b064b
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