summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2014-02-25 21:43:07 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:56:44 -0700
commit67afad89504d57f6277373be769d8ad605d20702 (patch)
treed507f6ed786975bd2e1278e3d1eddb300145147b /tools/perf/scripts/python/Perf-Trace-Util/lib
parenteea9974ddf82e1519ce62d0a11dd44e5a458ff42 (diff)
scsi: ufshcd: release resources if probe fails
If ufshcd pltfrm/pci driver's probe fails for some reason then ensure that scsi host is released to avoid memory leak but managed memory allocations (via devm_* calls) need not to be freed explicitly on probe failure as memory allocated with these functions is automatically freed on driver detach. Change-Id: Ic88c3e1d29a6b03e9a79201d3790f26bc4ccae61 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> [gbroner@codeaurora.org: fix minor merge conflicts] Signed-off-by: Gilad Broner <gbroner@codeaurora.org> [subhashj@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> [venkatg@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions