mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
23 lines
707 B
Diff
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;
|
||
|
|