projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
include
/
video
/
newport.h
diff --git
a/include/video/newport.h
b/include/video/newport.h
index 1f5ebeaa818f4241d98e7a7e5f8e4cb0f1a1625f..001b935e71c46287084b70552c0727b1b902d0fd 100644
(file)
--- a/
include/video/newport.h
+++ b/
include/video/newport.h
@@
-453,7
+453,7
@@
static __inline__ int newport_wait(struct newport_regs *regs)
{
int t = BUSY_TIMEOUT;
- while (
t--
)
+ while (
--t
)
if (!(regs->cset.status & NPORT_STAT_GBUSY))
break;
return !t;
@@
-463,7
+463,7
@@
static __inline__ int newport_bfwait(struct newport_regs *regs)
{
int t = BUSY_TIMEOUT;
- while (
t--
)
+ while (
--t
)
if(!(regs->cset.status & NPORT_STAT_BBUSY))
break;
return !t;