diff options
author | John Stultz <[email protected]> | 2017-06-13 14:59:49 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-06-28 21:00:08 +0100 |
commit | 7204e97685634813d8456f1900b7f38fa7701e60 (patch) | |
tree | f442222210631b50bec4b4c47a117319dbaf9878 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e3839bd6f56a291f00a4c3737eb15ca0344a82a9 (diff) |
drm: adv7511_audio: Add .get_dai_id callback to map port number to dai id
ALSA SoC needs to know connected DAI ID for probing. Using
the new audio-card-graph approach, ports/endpoints are used
to describe how the links are connected. Unfortunately, since
ports/endpoints are used as well for video linkages, there
are some issues mixing the port ids to the two (video and
audio) namespaces.
To solve this issue, this patch adds new .get_dai_id callback
on hdmi_codec_ops.
The will assume that HDMI audio out will be connected to
reg = <2>. This will then be remapped to the ALSA SoC side will
as DAI 0. Allowing the adv7511's hdmi audio support to be used
with the audio-card-graph.
Credit to Kuninori Morimoto who's patch to dw-hdmi-i2s-audio.c
was what this was mostly copy-pasted from.
Cc: Kuninori Morimoto <[email protected]>
Cc: Archit Taneja <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Linux-ALSA <[email protected]>
Cc: [email protected]
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions