diff mbox series

[1/3] drm: bridge: adv7511: fill i2s stream capabilities

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

Commit Message

Olivier Moysan Dec. 10, 2024, 1:42 p.m. UTC
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(+)

Comments

Dmitry Baryshkov Dec. 11, 2024, 10:52 p.m. UTC | #1
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 mbox series

Patch

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,
 };