Skip to content
Unverified Commit 33c74535 authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Maxime Ripard
Browse files

drm/vc4: Unify PCM card's driver_name



User-space ALSA matches a card's driver name against an internal list of
aliases in order to select the correct configuration for the system.
When the driver name isn't defined, the match is performed against the
card's name.

With the introduction of RPi4 we now have two HDMI ports with two
distinct audio cards. This is reflected in their names, making them
different from previous RPi versions. With this, ALSA ultimately misses
the board's configuration on RPi4.

In order to avoid this, set "card->driver_name" to "vc4-hdmi"
unanimously.

Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Fixes: f437bc1e ("drm/vc4: drv: Support BCM2711")
Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115191209.12852-1-nsaenzjulienne@suse.de
parent bf9eee24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment