drm/edid: add a helper function to extract the speaker allocation data block (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Jul 2013 19:55:32 +0000 (15:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Aug 2013 20:30:43 +0000 (16:30 -0400)
commitd105f4768a959f22078820625ccec9b693f164c8
treec09baba606b7ef14401adb0e6b9eaa6ab1b723a0
parent2483b4ea982efe8a544697d3f9642932e9af4dc1
drm/edid: add a helper function to extract the speaker allocation data block (v3)

This adds a helper function to extract the speaker allocation
data block from the EDID.  This data block describes what speakers
are present on the display device.

v2: update per Ville Syrjälä's comments
v3: fix copy/paste typo in memory allocation

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
drivers/gpu/drm/drm_edid.c
include/drm/drm_edid.h