Fixed VoE ioctl().
authorFlorian Pose <fp@igh-essen.com>
Tue, 07 Apr 2009 12:53:37 +0000
changeset 1381 f592fe7e799d
parent 1380 c2b0ef67e829
child 1382 cb2188d111f3
Fixed VoE ioctl().
master/cdev.c
--- a/master/cdev.c	Tue Apr 07 09:37:07 2009 +0000
+++ b/master/cdev.c	Tue Apr 07 12:53:37 2009 +0000
@@ -3090,11 +3090,11 @@
         case EC_IOCTL_VOE_READ:
             if (!(filp->f_mode & FMODE_WRITE))
 				return -EPERM;
+			return ec_cdev_ioctl_voe_read(master, arg, priv);
         case EC_IOCTL_VOE_READ_NOSYNC:
             if (!(filp->f_mode & FMODE_WRITE))
 				return -EPERM;
 			return ec_cdev_ioctl_voe_read_nosync(master, arg, priv);
-			return ec_cdev_ioctl_voe_read(master, arg, priv);
         case EC_IOCTL_VOE_WRITE:
             if (!(filp->f_mode & FMODE_WRITE))
 				return -EPERM;