drm/vc4: hdmi: Add a name to the codec DAI component
authorMaxime Ripard <maxime@cerno.tech>
Wed, 8 Jul 2020 14:45:55 +0000 (16:45 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 29 Oct 2020 09:25:44 +0000 (10:25 +0100)
Since the components for a given device in ASoC are identified by their
name, it makes sense to add one even though it's not strictly necessary.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200708144555.718404-1-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c

index 73ac527..95779d5 100644 (file)
@@ -1077,6 +1077,7 @@ static const struct snd_soc_dapm_route vc4_hdmi_audio_routes[] = {
 };
 
 static const struct snd_soc_component_driver vc4_hdmi_audio_component_drv = {
+       .name                   = "vc4-hdmi-codec-dai-component",
        .controls               = vc4_hdmi_audio_controls,
        .num_controls           = ARRAY_SIZE(vc4_hdmi_audio_controls),
        .dapm_widgets           = vc4_hdmi_audio_widgets,