Commit 91e99e11 authored by Maxime Ripard's avatar Maxime Ripard

drm/vc4: hdmi: Register HDMI codec

The hdmi-codec brings a lot of advanced features, including the HDMI
channel mapping. Let's use it in our driver instead of our own codec.
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Reviewed-by: default avatarNicolas Saenz Julienne <nsaenz@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210525132354.297468-11-maxime@cerno.tech
parent 8434111c
...@@ -12,6 +12,7 @@ config DRM_VC4 ...@@ -12,6 +12,7 @@ config DRM_VC4
select SND_PCM select SND_PCM
select SND_PCM_ELD select SND_PCM_ELD
select SND_SOC_GENERIC_DMAENGINE_PCM select SND_SOC_GENERIC_DMAENGINE_PCM
select SND_SOC_HDMI_CODEC
select DRM_MIPI_DSI select DRM_MIPI_DSI
help help
Choose this option if you have a system that has a Broadcom Choose this option if you have a system that has a Broadcom
......
This diff is collapsed.
...@@ -114,8 +114,7 @@ struct vc4_hdmi_audio { ...@@ -114,8 +114,7 @@ struct vc4_hdmi_audio {
int samplerate; int samplerate;
int channels; int channels;
struct snd_dmaengine_dai_dma_data dma_data; struct snd_dmaengine_dai_dma_data dma_data;
struct snd_pcm_substream *substream; struct hdmi_audio_infoframe infoframe;
bool streaming; bool streaming;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment