Name

drm_edid_to_sad — extracts SADs from EDID

Synopsis

int drm_edid_to_sad (struct edid * edid,
 struct cea_sad ** sads);
 

Arguments

edid

EDID to parse

sads

pointer that will be set to the extracted SADs

Description

Looks for CEA EDID block and extracts SADs (Short Audio Descriptors) from it.

Note

The returned pointer needs to be freed using kfree.

Return

The number of found SADs or negative number on error.