mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
f5ce405722
Parse the ELD (EDID like data) stored from the HDMI driver to restrict the sample rates and channels which are available to ALSA. This causes the ALSA device to reflect the capabilities of the overall audio path, not just what is supported at the HDMI source interface level. Tested-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
15 lines
188 B
C
15 lines
188 B
C
#ifndef DW_HDMI_AUDIO_H
|
|
#define DW_HDMI_AUDIO_H
|
|
|
|
struct dw_hdmi;
|
|
|
|
struct dw_hdmi_audio_data {
|
|
phys_addr_t phys;
|
|
void __iomem *base;
|
|
int irq;
|
|
struct dw_hdmi *hdmi;
|
|
u8 *eld;
|
|
};
|
|
|
|
#endif
|