commit | b9fab1480647d18bdc59c40b4aa11e4161942b89 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Wed Jun 20 15:33:32 2012 -0700 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Wed Jul 18 12:33:21 2012 -0700 |
tree | 6d3d4b6c1b58e52e8f2483de5051837c293293be | |
parent | 08790720bd5cf0940dddda805eb5b2661e682f96 [diff] |
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: Stephen Boyd <sboyd@codeaurora.org>