diff options
| author | 2022-07-13 20:05:28 +0800 | |
|---|---|---|
| committer | 2022-07-14 16:10:12 +0200 | |
| commit | 220fafb4ed04187e9c17be4152da5a7f2ffbdd8c (patch) | |
| tree | 5a9016e3e92f6552200db9b13cc0e4a0267efd43 /include/linux/phy/git: | |
| parent | usb: ldusb: replace ternary operator with max_t() (diff) | |
usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
We should call of_node_put() for the reference returned by
of_get_child_by_name() which has increased the refcount.
Fixes: 30d2617fd7ed ("usb: gadget: aspeed: allow to set usb strings in device tree")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220713120528.368168-1-windhl@126.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/phy/git:')
0 files changed, 0 insertions, 0 deletions
