OrangePi_CM5/drivers/gpu/host1x
Christophe JAILLET 6bb107332d gpu: host1x: Fix a memory leak in 'host1x_remove()'
[ Upstream commit 025c6643a81564f066d8381b9e2f4603e0f8438f ]

Add a missing 'host1x_channel_list_free()' call in the remove function,
as already done in the error handling path of the probe function.

Fixes: 8474b02531 ("gpu: host1x: Refactor channel allocation code")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:18 +02:00
..
hw
…
Kconfig
…
Makefile
…
bus.c
…
bus.h
…
cdma.c
…
cdma.h
…
channel.c
…
channel.h
…
debug.c
…
debug.h
…
dev.c gpu: host1x: Fix a memory leak in 'host1x_remove()' 2022-04-08 14:40:18 +02:00
dev.h
…
intr.c
…
intr.h
…
job.c
…
job.h
…
mipi.c
…
syncpt.c
…
syncpt.h
…