aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2021-12-01 14:59:29 +0200
committerRafael J. Wysocki <[email protected]>2021-12-17 18:41:28 +0100
commit4a7f4110f79163fd53ea65438041994ed615e3af (patch)
tree743714a2b0c0da65b9e4878a24df5704f06ce0b2 /scripts/gdb/linux/device.py
parent2338e7bcef445059a99848a3eddde0b556277663 (diff)
device property: Fix fwnode_graph_devcon_match() fwnode leak
For each endpoint it encounters, fwnode_graph_devcon_match() checks whether the endpoint's remote port parent device is available. If it is not, it ignores the endpoint but does not put the reference to the remote endpoint port parent fwnode. For available devices the fwnode handle reference is put as expected. Put the reference for unavailable devices now. Fixes: 637e9e52b185 ("device connection: Find device connections also from device graphs") Cc: 5.1+ <[email protected]> # 5.1+ Signed-off-by: Sakari Ailus <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions