]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm: fix typo in edid vendor parsing.
authorDave Airlie <airlied@redhat.com>
Thu, 2 Apr 2009 23:10:33 +0000 (09:10 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 2 Apr 2009 23:10:33 +0000 (09:10 +1000)
commit16456c872e4e3d674dde73f9bdf3f69c0d95e070
tree6a2241babb9703a435f3462cea7a5f3486cf6f65
parent3c6fc3521acbee33637e7db803ac3cf3b0e2ff04
drm: fix typo in edid vendor parsing.

Should be,

    edid_vendor[2] = (edid->mfg_id[1] & 0x1f) +  '@';

Since vendor ID has only two bytes only, I am somewhat surprised why gcc
doesn't complain this.

Reported-by: Guo, Chaohong <chaohong.guo@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c