Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120158
b: refs/heads/master
c: 87884bd
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 22, 2008
1 parent 8d53d38 commit 9aa16d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0790555437df2b6070af8f021b8d2ef79e70e144
refs/heads/master: 87884bd8ae42c875adbd62c84f47ed1cbb3e5090
4 changes: 4 additions & 0 deletions trunk/drivers/video/fb_defio.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ int fb_deferred_io_fsync(struct file *file, struct dentry *dentry, int datasync)
{
struct fb_info *info = file->private_data;

/* Skip if deferred io is complied-in but disabled on this fbdev */
if (!info->fbdefio)
return 0;

/* Kill off the delayed work */
cancel_rearming_delayed_work(&info->deferred_work);

Expand Down

0 comments on commit 9aa16d9

Please sign in to comment.