Message ID | 20241210134254.2967524-2-olivier.moysan@foss.st.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | drm: bridge: adv7511: refine actual capabilities | expand |
On Tue, Dec 10, 2024 at 02:42:52PM +0100, Olivier Moysan wrote: > Set no_i2s_capture flag in hdmi_codec_pdata structure to report > that the ADV7511 HDMI bridge does not support i2s audio capture. > > Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> > --- > drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c > index 61f4a38e7d2b..28ae81ca3651 100644 > --- a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c > +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c > @@ -234,6 +234,7 @@ static const struct hdmi_codec_pdata codec_data = { > .ops = &adv7511_codec_ops, > .max_i2s_channels = 2, > .i2s = 1, > + .no_i2s_capture = 1, Does it support spdif capture? > .spdif = 1, > }; > > -- > 2.25.1 >
diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c index 61f4a38e7d2b..28ae81ca3651 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c @@ -234,6 +234,7 @@ static const struct hdmi_codec_pdata codec_data = { .ops = &adv7511_codec_ops, .max_i2s_channels = 2, .i2s = 1, + .no_i2s_capture = 1, .spdif = 1, };
Set no_i2s_capture flag in hdmi_codec_pdata structure to report that the ADV7511 HDMI bridge does not support i2s audio capture. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> --- drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 1 + 1 file changed, 1 insertion(+)