VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Maxime Ripard <maxime@cerno.tech> 2021-07-20 15:45:23 +0200 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-28 14:37:33 +0200 commit: a0f2f2bf424dec6f2d299d4e1a8035883434e17a parent: 6cd7bb123703048bef66aebfc63e8c8152cc8fdf
Commit Summary:
drm/panel: raspberrypi-touchscreen: Prevent double-free
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
index 5e9ccefb88f6..bbdd086be7f5 100644
--- a/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
+++ b/drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
@@ -447,7 +447,6 @@ static int rpi_touchscreen_remove(struct i2c_client *i2c)
 	drm_panel_remove(&ts->base);
 
 	mipi_dsi_device_unregister(ts->dsi);
-	kfree(ts->dsi);
 
 	return 0;
 }