summaryrefslogtreecommitdiff
path: root/include/sound/pcm_drm_eld.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-05-09 11:26:42 +0100
committerTakashi Iwai <tiwai@suse.de>2015-05-22 16:01:44 +0200
commit838d1631b766529213684f07dd71cdf2e92f0623 (patch)
tree95fce5b51dfb9eae52cd071f468812cca7f8fe56 /include/sound/pcm_drm_eld.h
parentb787f68c36d49bb1d9236f403813641efa74a031 (diff)
downloadlwn-838d1631b766529213684f07dd71cdf2e92f0623.tar.gz
lwn-838d1631b766529213684f07dd71cdf2e92f0623.zip
ALSA: pcm: add DRM ELD helper
Add a helper for the EDID like data structure, which is typically passed from a HDMI adapter to its associated audio driver. This informs the audio driver of the capabilities of the attached HDMI sink. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Reviewed-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/pcm_drm_eld.h')
-rw-r--r--include/sound/pcm_drm_eld.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/pcm_drm_eld.h b/include/sound/pcm_drm_eld.h
new file mode 100644
index 000000000000..93357b25d2e2
--- /dev/null
+++ b/include/sound/pcm_drm_eld.h
@@ -0,0 +1,6 @@
+#ifndef __SOUND_PCM_DRM_ELD_H
+#define __SOUND_PCM_DRM_ELD_H
+
+int snd_pcm_hw_constraint_eld(struct snd_pcm_runtime *runtime, void *eld);
+
+#endif