summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/serial.h
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-03-06 14:47:57 +0800
committerZhang Jiejing <jiejing.zhang@freescale.com>2012-03-06 14:58:07 +0800
commit0ba6e2dccccedde8f5e3f03a9cbce1781fbd1f7b (patch)
treef50b1618260d7fcb66b4fa362760613ca277ecc8 /arch/arm/mach-mx6/serial.h
parent8b4eb3911f63aa32b74ef8dd79d2ca2a721db983 (diff)
ENGR00176159 video: ipuv3-fb: change to timeout semaphore to wait on irq.
change to timeout semaphore to wait on irq. use no timeout semaphore have below issues: 1. since fbmem.c will hold the console_lock() before call PAN_DISPLAY ioictl, if have wrong happens on IPU, IRQ not come, any log printk will not ouput, it will become like a system hang, and developer don't know what's wrong. 2. semaphore don't have timeout, here we can't know irq not come, so hang it infintly. 3. semaphore lock and unlock in different context is a dangous operation. To fix these issue, use timedout version to wait on irq. But for better coding stly to align Kernel Coding Style Doc, better use complete to wait on irq, use semaphre little ugly. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/serial.h')
0 files changed, 0 insertions, 0 deletions