diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-03 23:31:49 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-03 23:31:48 -0700 |
| commit | 7d2dbd95386a6ef97abead5cffd60ecc979c02da (patch) | |
| tree | d217fd339e61e5914463f9afa5e4a163d01103ce /drivers/tty | |
| parent | bf5ab4a6aa83cabb3860156fb47ce6ac142d197d (diff) | |
| parent | 95a027ead7d44a2c80ebeccdc0f70317e1712dbf (diff) | |
Merge "Merge branch 'android-4.4@e4528dd' into branch 'msm-4.4'"
Diffstat (limited to 'drivers/tty')
| -rw-r--r-- | drivers/tty/nozomi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index 80f9de907563..5cc80b80c82b 100644 --- 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)) { |
