bcm27xx: import latest patches from the RPi foundation
[openwrt/staging/ynezz.git] / target / linux / bcm27xx / patches-5.4 / 950-0760-vc4-Set-driver_name-for-card.patch
1 From aff5900c0b389e5ad2b8f2fc67544e769f94cbf4 Mon Sep 17 00:00:00 2001
2 From: Dom Cobley <popcornmix@gmail.com>
3 Date: Tue, 2 Jun 2020 19:31:49 +0100
4 Subject: [PATCH] vc4: Set driver_name for card
5
6 Allows use of the same alsa conf file for hdmi1
7
8 Signed-off-by: Dom Cobley <popcornmix@gmail.com>
9 ---
10 drivers/gpu/drm/vc4/vc4_hdmi.c | 1 +
11 1 file changed, 1 insertion(+)
12
13 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
14 +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
15 @@ -1216,6 +1216,7 @@ static int vc4_hdmi_audio_init(struct vc
16 card->dai_link = dai_link;
17 card->num_links = 1;
18 card->name = vc4_hdmi->variant->id ? "vc4-hdmi1" : "vc4-hdmi";
19 + card->driver_name = "vc4-hdmi";
20 card->dev = dev;
21 card->owner = THIS_MODULE;
22