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 tag 'v3.10.107' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
tty
/
nozomi.c
diff --git
a/drivers/tty/nozomi.c
b/drivers/tty/nozomi.c
index d6080c3831ef98b72d8269dc3750f58f6d55bfba..ce2e5d508fe7f0c27e4d4597bb0386eead8116db 100644
(file)
--- a/
drivers/tty/nozomi.c
+++ b/
drivers/tty/nozomi.c
@@
-823,7
+823,7
@@
static int receive_data(enum port_type index, struct nozomi *dc)
struct tty_struct *tty = tty_port_tty_get(&port->port);
int i, ret;
-
read_mem32((u32 *) &size, addr, 4
);
+
size = __le32_to_cpu(readl(addr)
);
/* DBG1( "%d bytes port: %d", size, index); */
if (tty && test_bit(TTY_THROTTLED, &tty->flags)) {