diff options
| author | Rahul Ruikar <[email protected]> | 2010-10-28 17:31:19 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-11-11 05:58:48 -0800 |
| commit | 17a936117c587c23aafafdb9cd6d433a90daa83d (patch) | |
| tree | 914f9ba0ef9df9bef4522a6b897967e09fe1d078 /tools/perf/scripts/python | |
| parent | d9385b6352da7fed50981f375c2ccb60354039a6 (diff) | |
USB: gadget: f_mass_storage: put_device() in error recovery
This commit fixes an issue with error recovery after
device_register() fails in Mass Storage Function. The device
needs to be put to avoid resource leakage.
Signed-off-by: Rahul Ruikar <[email protected]>
[[email protected]: updated commit message]
Signed-off-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions