ipack/devices/ipoctal: setup TTY_NORMAL flag for each character.
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Mon, 10 Dec 2012 10:50:01 +0000 (11:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 02:24:38 +0000 (18:24 -0800)
commitb5071f2cd89bfd88cc3c3a820cbb9e7d7d9b5c92
tree38d7a9dd5ffbf4a554751fded8bac818f62b4cd5
parenta1da13a67afa45cf996ae9325030dd86c26573fc
ipack/devices/ipoctal: setup TTY_NORMAL flag for each character.

In case of several characters present in RxFIFO, they will have the flag of the
previous one, no matter if the actual character was received properly or not.

This patch fixes this bug.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ipack/devices/ipoctal.c