diff options
author | Chen Tao <chentao107@huawei.com> | 2020-06-19 18:42:40 +0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2020-07-14 08:03:05 -0700 |
commit | a18fb07623813aaee1a69873c785865695a32c9e (patch) | |
tree | 133816a796990779ba1878aa2c3c7387534de1e6 /drivers/usb/cdns3/cdns3-ti.c | |
parent | a55de412228cc5a2b4bf8d2a09849898102633e2 (diff) |
ARM: OMAP2+: Fix possible memory leak in omap_hwmod_allocate_module
Fix memory leak in omap_hwmod_allocate_module not freeing in
handling error path.
Fixes: 8c87970543b17("ARM: OMAP2+: Add functions to allocate module data from device tree")
Signed-off-by: Chen Tao <chentao107@huawei.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
[tony@atomide.com: fix call iounmap for missing regs]
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions