Staging: ipack/devices/ipoctal: read more than one character from RX FIFO.
authorSamuel Iglesias Gonsalvez <siglesias@igalia.com>
Wed, 12 Sep 2012 12:55:43 +0000 (14:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2012 16:56:02 +0000 (09:56 -0700)
commitab0a71f06d44334154091c6cdc823f908398623e
treea31d2a85f26c70c3d37f19ddafe1818b06d9ad91
parent9c1d784afc6fc37d328623d1adf503031b524788
Staging: ipack/devices/ipoctal: read more than one character from RX FIFO.

The RX FIFO has a size of 3 characters. Check if when we are picking the
oldest one, we have more to read.

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