diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-02-02 15:37:11 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-02-03 17:36:53 +0100 |
commit | df0435db1db9e385acdc0a354896d2c0e878dbd5 (patch) | |
tree | 210965baca3a404a2858691017b01e3974522884 /sound/x86/intel_hdmi_audio.h | |
parent | f69bd104b5cded0db547636fddd9512d7e6cfbf3 (diff) |
ALSA: x86: Use the standard ELD bytes definitions
We have some constants defined in drm/drm_edid.h, and clean up our own
definitions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/x86/intel_hdmi_audio.h')
-rw-r--r-- | sound/x86/intel_hdmi_audio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/x86/intel_hdmi_audio.h b/sound/x86/intel_hdmi_audio.h index 2804e94a6710..4ccaa8b18566 100644 --- a/sound/x86/intel_hdmi_audio.h +++ b/sound/x86/intel_hdmi_audio.h @@ -37,6 +37,7 @@ #include <sound/asoundef.h> #include <sound/control.h> #include <sound/pcm.h> +#include <drm/drm_edid.h> #include "intel_hdmi_lpe_audio.h" #define PCM_INDEX 0 @@ -107,7 +108,7 @@ struct snd_intelhad { enum had_drv_status drv_status; struct ring_buf_info buf_info[HAD_NUM_OF_RING_BUFS]; struct pcm_stream_info stream_info; - union otm_hdmi_eld_t eld; + unsigned char eld[HDMI_MAX_ELD_BYTES]; bool dp_output; enum intel_had_aud_buf_type curr_buf; int valid_buf_cnt; |