drm/vc4: hdmi: Add a name to the codec DAI component
Subsystems (3)
PATCH 1/1 drm/vc4: hdmi: Add a name to the codec DAI component
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 <[email protected]>
--- drivers/gpu/drm/vc4/vc4_hdmi.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/vc4/vc4_hdmi.c +1 -0
@@ -983,6 +983,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,
Signature · 1 line
2.26.2
Hi Maxime
Quoted 5 lines · Maxime Ripard
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 <[email protected]>
Reviewed-by Dave Stevenson <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/vc4/vc4_hdmi.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/vc4/vc4_hdmi.c +1
-1@@ -983,6 +983,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, --
Quoted 2 lines
2.26.2
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Maxime Ripard
AppliedQuoted 10 lines · Dave Stevenson
Hi Maxime
Quoted 5 lines · Maxime Ripard
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 <[email protected]>Reviewed-by Dave Stevenson <[email protected]>
Applied, thanks!
Maxime