commit | 90ce58d457c252d629f79a0f473e3cfb3291616e | [log] [tgz] |
---|---|---|
author | Mukesh Ojha <mojha@codeaurora.org> | Tue Mar 26 13:42:22 2019 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 04 09:20:21 2019 +0200 |
tree | 94f6a0b68b4943d2da3694765269436f93efed69 | |
parent | fe71e625e23f0b2e5c51cb005714b8ed1a553d8f [diff] |
usb: u132-hcd: fix resource leak [ Upstream commit f276e002793cdb820862e8ea8f76769d56bba575 ] if platform_driver_register fails, cleanup the allocated resource gracefully. Signed-off-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>