Skip to content

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

Closed

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.

Activity

  1. popcornmix commented on Mar 17, 2015

    @popcornmix
    Collaborator

    Okay

  2. popcornmix commented on Mar 22, 2015

    @popcornmix
    Collaborator

    Can you rpi-update and test?

  3. added a commit that references this issue on Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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