diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-02 08:42:20 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-02 09:48:59 -0400 |
commit | 9892e468d5c68f0d84ada26ea9737fae9dd41496 (patch) | |
tree | 6b5491d7920e1e506d173e69a8c3398866de9767 | |
parent | b5cb99a7bf3486ce7347dc06451f209b193d516c (diff) | |
download | rockbox-9892e468d5.tar.gz rockbox-9892e468d5.zip |
hosted: Don't use O_SYNC for the framebuffer handle.
Change-Id: Iff4b1947fe053313d677b894c78250760aaef967
-rw-r--r-- | firmware/target/hosted/lcd-linuxfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/lcd-linuxfb.c b/firmware/target/hosted/lcd-linuxfb.c index 8edb82757f..e85b920fef 100644 --- a/firmware/target/hosted/lcd-linuxfb.c +++ b/firmware/target/hosted/lcd-linuxfb.c @@ -47,7 +47,7 @@ static void redraw(void) void lcd_init_device(void) { const char * const fb_dev = "/dev/fb0"; - fd = open(fb_dev, O_RDWR | O_SYNC); + fd = open(fb_dev, O_RDWR /* | O_SYNC */); if(fd < 0) { panicf("Cannot open framebuffer: %s\n", fb_dev); |