aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/hdmi-codec.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2024-12-24 01:47:53 +0000
committerDmitry Baryshkov <[email protected]>2025-01-04 06:47:10 +0000
commit6af45d7df1099ccac634b36f8cdfa32fbca8c1d1 (patch)
treec62963dea9b934e6335d33a376cb3ed92283b83d /sound/soc/codecs/hdmi-codec.c
parentaccel/amdxdna: Declare npu6_dev_priv as static (diff)
downloadkernel-6af45d7df1099ccac634b36f8cdfa32fbca8c1d1.tar.gz
kernel-6af45d7df1099ccac634b36f8cdfa32fbca8c1d1.zip
ASoC: hdmi-codec: pass data to get_dai_id too
The upcoming DRM connector HDMI codec implementation is going to use codec-specific data in the .get_dai_id to get drm_connector. Pass data to the callback, as it is done with other hdmi_codec_ops callbacks. Acked-by: Mark Brown <[email protected]> Tested-by: Dave Stevenson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'sound/soc/codecs/hdmi-codec.c')
-rw-r--r--sound/soc/codecs/hdmi-codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hdmi-codec.c
index d9df29a26f4f..f536ca60e162 100644
--- a/sound/soc/codecs/hdmi-codec.c
+++ b/sound/soc/codecs/hdmi-codec.c
@@ -995,7 +995,7 @@ static int hdmi_of_xlate_dai_id(struct snd_soc_component *component,
int ret = -ENOTSUPP; /* see snd_soc_get_dai_id() */
if (hcp->hcd.ops->get_dai_id)
- ret = hcp->hcd.ops->get_dai_id(component, endpoint);
+ ret = hcp->hcd.ops->get_dai_id(component, endpoint, hcp->hcd.data);
return ret;
}