Commit a06de043 authored by Guido Martínez's avatar Guido Martínez Committed by Greg Kroah-Hartman

drm/tilcdc: tfp410: fix dangling sysfs connector node

commit 16dcbdef404f4e87dab985494381939fe0a2d456 upstream.

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver, otherwise
we will get a warning about a duplicate filename in sysfs.
Signed-off-by: default avatarGuido Martínez <>
Tested-by: default avatarDarren Etheridge <>
Signed-off-by: default avatarDave Airlie <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 94ff92a3
......@@ -168,6 +168,7 @@ struct tfp410_connector {
static void tfp410_connector_destroy(struct drm_connector *connector)
struct tfp410_connector *tfp410_connector = to_tfp410_connector(connector);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment