projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'drm-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[cascardo/linux.git]
/
drivers
/
video
/
cfbimgblt.c
diff --git
a/drivers/video/cfbimgblt.c
b/drivers/video/cfbimgblt.c
index
910e233
..
8ba6152
100644
(file)
--- a/
drivers/video/cfbimgblt.c
+++ b/
drivers/video/cfbimgblt.c
@@
-169,7
+169,7
@@
static inline void slow_imageblit(const struct fb_image *image, struct fb_info *
while (j--) {
l--;
- color = (*s &
1 << (FB_BIT_NR(l)
)) ? fgcolor : bgcolor;
+ color = (*s &
(1 << l
)) ? fgcolor : bgcolor;
val |= FB_SHIFT_HIGH(color, shift);
/* Did the bitshift spill bits to the next long? */