diff options
author | Johan Hovold <johan@kernel.org> | 2017-06-06 17:58:58 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-13 11:07:32 +0200 |
commit | e271b2c909a22a2c13b2d5f77f2ce0091b74540c (patch) | |
tree | 4ebe90566ce8f5fc66d40760466abc1b47884683 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0bd08fc8db593eb79bd40729279016fd5d7edc09 (diff) |
USB: core: fix device node leak
Make sure to release any OF device-node reference taken when creating
the USB device.
Note that we currently do not hold a reference to the root hub
device-tree node (i.e. the parent controller node).
Fixes: 69bec7259853 ("USB: core: let USB device know device node")
Cc: stable <stable@vger.kernel.org> # v4.6
Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions