]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ioctl.c
OMAP3: clock: Camera module doesn't have IDLEST bit
[linux-2.6-omap-h63xx.git] / fs / ioctl.c
index e8e89edba576d43480611a9f9cf0ca66b62d99d7..ac2d47e439265c1622199ed17b00315c475a4a4f 100644 (file)
@@ -432,7 +432,7 @@ static int ioctl_fioasync(unsigned int fd, struct file *filp,
                else
                        error = -ENOTTY;
        }
-       return error;
+       return error < 0 ? error : 0;
 }
 
 static int ioctl_fsfreeze(struct file *filp)