Name

drm_edid_to_speaker_allocation — extracts Speaker Allocation Data Blocks from EDID

Synopsis

int drm_edid_to_speaker_allocation (struct edid * edid,
 u8 ** sadb);
 

Arguments

edid

EDID to parse

sadb

pointer to the speaker block

Description

Looks for CEA EDID block and extracts the Speaker Allocation Data Block from it.

Note

The returned pointer needs to be freed using kfree.

Return

The number of found Speaker Allocation Blocks or negative number on error.