openwrt/target/linux/bcm27xx/patches-5.4/950-0760-vc4-Set-driver_name-for-card.patch
Álvaro Fernández Rojas f07e572f64 bcm27xx: import latest patches from the RPi foundation
bcm2708: boot tested on RPi B+ v1.2
bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G
bcm2710: boot tested on RPi 3B v1.2
bcm2711: boot tested on RPi 4B v1.1 4G

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2021-02-18 23:42:32 +01:00

23 lines
707 B
Diff

From aff5900c0b389e5ad2b8f2fc67544e769f94cbf4 Mon Sep 17 00:00:00 2001
From: Dom Cobley <popcornmix@gmail.com>
Date: Tue, 2 Jun 2020 19:31:49 +0100
Subject: [PATCH] vc4: Set driver_name for card
Allows use of the same alsa conf file for hdmi1
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
---
drivers/gpu/drm/vc4/vc4_hdmi.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/gpu/drm/vc4/vc4_hdmi.c
+++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
@@ -1216,6 +1216,7 @@ static int vc4_hdmi_audio_init(struct vc
card->dai_link = dai_link;
card->num_links = 1;
card->name = vc4_hdmi->variant->id ? "vc4-hdmi1" : "vc4-hdmi";
+ card->driver_name = "vc4-hdmi";
card->dev = dev;
card->owner = THIS_MODULE;