Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=76c7d3ffe3acddf5619bd796e0b8fa5dc6ecdb39
Commit:     76c7d3ffe3acddf5619bd796e0b8fa5dc6ecdb39
Parent:     167f07f1bc20ea1ab51d833deb0c18f5ab93618f
Author:     [EMAIL PROTECTED] <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:39:56 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:33 2007 -0700

    pm2fb: reset transparency settings
    
    This patch resets transparency settings when depth changes.  Otherwise the 
16
    and 24-bit modes work incorrectly after switching from 32-bit mode.
    
    Signed-off-by: Krzysztof Helt < [EMAIL PROTECTED]>
    Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/pm2fb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/video/pm2fb.c b/drivers/video/pm2fb.c
index 2a8ba60..33f17a9 100644
--- a/drivers/video/pm2fb.c
+++ b/drivers/video/pm2fb.c
@@ -645,6 +645,8 @@ static int pm2fb_check_var(struct fb_var_screeninfo *var, 
struct fb_info *info)
                return -EINVAL;
        }
 
+       var->transp.offset = 0;
+       var->transp.length = 0;
        switch(var->bits_per_pixel) {
        case 8:
                var->red.length = var->green.length = var->blue.length = 8;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to