drm_edid_to_eld: check for CEA data blocks only from structure revision 3 on
authorChristian Schmidt <schmidt@digadd.de>
Mon, 19 Dec 2011 19:03:38 +0000 (20:03 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Dec 2011 09:51:06 +0000 (09:51 +0000)
commita0ab734d62ef4c35ffa5e39f9ec1e6d6284f05fa
treef543a4b51b76585d2befd5552a7265955d3b9b58
parent54ac76f851a1789b047b74a8e14980f2dd1ac749
drm_edid_to_eld: check for CEA data blocks only from structure revision 3 on

CEA datablocks are only defined from revision 3 onwards. Only check for
them if the revision says so.

Signed-of-by: Christian Schmidt <schmidt@digadd.de>
Tested-by: James Cloos <cloos@jhcloos.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c