]> git.baikalelectronics.ru Git - kernel.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)
commit96526bbc04ab0281d9ece44322a344e3ce13a6b9
tree6a2241babb9703a435f3462cea7a5f3486cf6f65
parentba3de4289e708301ca28adbae350218f55ac2ab8
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