Re: [PATCH] drm/radeon: fix multiple reference count leak

2020-06-15 Thread Alex Deucher
On Mon, Jun 15, 2020 at 3:27 AM Aditya Pakki wrote: > > On calling pm_runtime_get_sync() the reference count of the device > is incremented. In case of failure, decrement the > reference count before returning the error. Is this required if pm_runtime_get_sync() fails? Alex > > Signed-off-by: A

[PATCH] drm/radeon: fix multiple reference count leak

2020-06-15 Thread Aditya Pakki
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Signed-off-by: Aditya Pakki --- drivers/gpu/drm/radeon/radeon_connectors.c | 20 +++- 1 file changed, 15 insertions(+),