msm8916-openwrt/target/linux/bcm27xx/patches-6.6/950-0682-drm-connector-Change-DRM-card-alias-from-underscore-.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

27 lines
935 B
Diff

From 34735d95b65fb0c1b24fb18480a3869958485c4f Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Thu, 19 Oct 2023 10:34:58 +0100
Subject: [PATCH 0682/1085] drm/connector: Change DRM card alias from
underscore to hyphen
Apparently aliases are only allowed lower case and hyphens,
so swap the use of underscore to hyphen.
Fixes: 3aa1f2477545 ("drm: Look for an alias for the displays to use as the DRM device name")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
drivers/gpu/drm/drm_connector.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/gpu/drm/drm_connector.c
+++ b/drivers/gpu/drm/drm_connector.c
@@ -115,7 +115,7 @@ static struct drm_conn_prop_enum_list dr
};
#define MAX_DT_NODE_NAME_LEN 20
-#define DT_DRM_NODE_PREFIX "drm_"
+#define DT_DRM_NODE_PREFIX "drm-"
static void drm_connector_get_of_name(int type, char *node_name, int length)
{