diff options
| author | Christophe JAILLET <[email protected]> | 2020-04-27 20:21:16 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-05-09 08:05:08 +0000 |
| commit | f058764d19000d98aef72010468db1f69faf9fa0 (patch) | |
| tree | 2ecfea97f216a1d34d33982024f2b7b050caa58b /tools/perf/scripts/python/stackcollapse.py | |
| parent | usb: cdns3: gadget: prev_req->trb is NULL for ep0 (diff) | |
| download | kernel-f058764d19000d98aef72010468db1f69faf9fa0.tar.gz kernel-f058764d19000d98aef72010468db1f69faf9fa0.zip | |
usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()'
A call to 'regulator_get()' is hidden in 'twl6030_usb_ldo_init()'. A
corresponding put must be performed in the error handling path, as
already done in the remove function.
While at it, also move a 'free_irq()' call in the error handling path in
order to be consistent.
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
