[PATCH 89/133] [Jaunty SRU] ARM.imx51 Freescale:ENGR00112566 IPUv3: Reduce waiting time of ipu interrupt.
Brad Figg
brad.figg at canonical.com
Thu Jul 9 16:49:19 UTC 2009
From: b02550 <b02550 at freescale.com>
Reduce the waiting time of ipu interrupt from 2HZ to HZ/10.
Signed-off-by: DingQiang <b02550 at freescale.com>
Signed-off-by: Brad Figg <brad.figg at canonical.com>
---
drivers/mxc/ipu3/ipu_device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mxc/ipu3/ipu_device.c b/drivers/mxc/ipu3/ipu_device.c
index c81c82b..2f4cc0c 100644
--- a/drivers/mxc/ipu3/ipu_device.c
+++ b/drivers/mxc/ipu3/ipu_device.c
@@ -358,7 +358,7 @@ static int mxc_ipu_ioctl(struct inode *inode, struct file *file,
r = get_events(&info);
if (r == -1) {
wait_event_interruptible_timeout(waitq,
- (pending_events != 0), 2 * HZ);
+ (pending_events != 0), HZ/10);
r = get_events(&info);
}
ret = -1;
--
1.6.0.4
More information about the kernel-team
mailing list