1. NAME

drm_edid_to_sad - extracts SADs from EDID

2. SYNOPSIS

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

3. ARGUMENTS

edid
    EDID to parse

sads
    pointer that will be set to the extracted SADs

4. DESCRIPTION

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

5. NOTE

returned pointer needs to be kfreed

Return number of found SADs or negative number on error.

6. AUTHORS

Jesse Barnes <>
Intel Corporation,
    Initial version

Laurent Pinchart <>
Ideas on board SPRL,
    Driver internals

7. COPYRIGHT