Skip to content

kernel message on every ioctl(console_fd, FBIO_WAITFORVSYNC, 0) #895

@pssc

Description

@pssc
diff --git a/drivers/video/fbdev/bcm2708_fb.c b/drivers/video/fbdev/bcm2708_fb.c
index a443666..6b811d7 100644
--- a/drivers/video/fbdev/bcm2708_fb.c
+++ b/drivers/video/fbdev/bcm2708_fb.c
@@ -424,10 +424,10 @@ static int bcm2708_ioctl(struct fb_info *info, unsigned int cmd, unsigned long a

                bcm_mailbox_property(&p, p[0]);

-               pr_info("bcm2708_fb_ioctl %x,%lx returns=%d p[1]=0x%x\n", cmd, arg, p[5], p[1]);
-
                if ( p[1] == VCMSG_REQUEST_SUCCESSFUL )
                        result = 0;
+               else
+                       pr_info("bcm2708_fb_ioctl %x,%lx returns=%d p[1]=0x%x\n", cmd, arg, p[5], p[1]);
        }
        return result;
 }

Thanks

Phill.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions