On Tue, Dec 31, 2024 at 07:49:40PM +0100, Martin Blumenstingl wrote: > On Tue, Dec 31, 2024 at 3:34 AM Dmitry Baryshkov > <dmitry.baryshkov@xxxxxxxxxx> wrote: > [...] > > > I checked all instances of struct hdmi_codec_ops in v6.13-rc3 and it > > > seems that there is only a single driver which uses the .prepare > > > callback (drivers/gpu/drm/vc4/vc4_hdmi.c). All other drivers seem to > > > implement .hw_params instead. > > > > Yes. However .hw_params don't have access to the infoframe contents, so > > I had to settle on implementing .prepare. > While debugging I noticed something unrelated to my problem: > hdmi_codec_spdif_dai_ops does not implement .prepare(). > FYI just in case someone wants to use your patches and feed the > hdmi-codec with SPDIF instead of I2S. Could you please send submit a patch to the hdmi-codec driver? -- With best wishes Dmitry