]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm: Fix shifts which were miscalculated when converting from bitfields.
authorMichel Dänzer <michel@daenzer.net>
Tue, 23 Jun 2009 10:36:32 +0000 (12:36 +0200)
committerDave Airlie <airlied@linux.ie>
Wed, 24 Jun 2009 06:11:04 +0000 (16:11 +1000)
commite14cbee401cd00779a5267128371506b22c77bc9
tree33707db9beab3a928cfc9b182efcb46c73db863a
parentb1e3a6d1c4d0ac75ad8289bcfd69efcc9b1bc6e5
drm: Fix shifts which were miscalculated when converting from bitfields.

Looks like I managed to mess up most shifts when converting from bitfields. :(

The patch below works on my Thinkpad T500 (as well as on my PowerBook,
where the previous change worked as well, maybe out of luck...). I'd
appreciate more testing and eyes looking over it though.

Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Tested-by: Michael Pyne <mpyne@kde.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_edid.c
include/drm/drm_edid.h