staging: fbtft: fbtft-core: Fix last line displayed on fbcon
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 11 Oct 2019 11:24:41 +0000 (14:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2019 08:00:35 +0000 (10:00 +0200)
commit91d6f911b348dcb8e22d87913f4a0f52e646e990
tree7eb6048e86aab2455bf07d10561a4578192387cc
parentf152f52c308dbaf41f3874805f9a2811f96730da
staging: fbtft: fbtft-core: Fix last line displayed on fbcon

For the special case when fbtft_mkdirty() is called with with -1 for the y
coordinate, the height is truncated by 1.

This isn't required, and causes the last line to not update.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20191011112441.31003-1-alexandru.ardelean@analog.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-core.c