Skip to content

Commit 121b04f

Browse files
Olivier Moysanjfvogel
authored andcommitted
drm: bridge: adv7511: fill stream capabilities
[ Upstream commit c852646 ] Set no_i2s_capture and no_spdif_capture flags in hdmi_codec_pdata structure to report that the ADV7511 HDMI bridge does not support i2s or spdif audio capture. Signed-off-by: Olivier Moysan <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Sasha Levin <[email protected]> (cherry picked from commit 878ccaf79c95f0732b90479da0ac683052c7aec1) Signed-off-by: Jack Vogel <[email protected]>
1 parent 59f4901 commit 121b04f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/bridge/adv7511/adv7511_audio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,9 @@ static const struct hdmi_codec_pdata codec_data = {
244244
.ops = &adv7511_codec_ops,
245245
.max_i2s_channels = 2,
246246
.i2s = 1,
247+
.no_i2s_capture = 1,
247248
.spdif = 1,
249+
.no_spdif_capture = 1,
248250
};
249251

250252
int adv7511_audio_init(struct device *dev, struct adv7511 *adv7511)

0 commit comments

Comments
 (0)