UPSTREAM: coresight: platform: Fix leaking device reference
We don't drop the reference on the remote device while parsing the connection, held by bus_find_device(). Fix this by duplicating the device name and dropping the reference. Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Kim Phillips <kim.phillips@arm.com> Signed-off-by:Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by:
Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (Upstream commit 5111e749c775ebae6f7d39c6f836cb3f06c7b938). Bug: 140266694 Change-Id: I99c2664ba29a88250db8f03c2d22dea59f29ded3 Signed-off-by:
Yabin Cui <yabinc@google.com>
Loading
Please register or sign in to comment