@@ -359,12 +359,17 @@ struct edid {
#define EDID_PRODUCT_ID(e) ((e)->prod_code[0] | ((e)->prod_code[1] << 8))
-/* Short Audio Descriptor */
+/* struct cea_sad - Short Audio Descriptor.
+ @format: See HDMI_AUDIO_CODING_TYPE_*.
+ @channels: max number of channels - 1.
+ @freq: See CEA_SAD_FREQ_*.
+ @byte2: meaning depends on format.
+*/
struct cea_sad {
u8 format;
- u8 channels; /* max number of channels - 1 */
+ u8 channels;
u8 freq;
- u8 byte2; /* meaning depends on format */
+ u8 byte2;
};
struct drm_encoder;
Signed-off-by: Guillaume Ranquet <granquet@baylibre.com> --- include/drm/drm_edid.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)