summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Abel <rabel@robertabel.eu>2018-02-26 02:54:29 +0300
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2018-04-12 20:02:43 +0300
commit99b9b4909c72e06b46e2fdf083c96b585cb84adb (patch)
tree9ad8cba4b305eb8ee5ef441b825fc60303725250
parent9629ccca3b82491402ebbed8c03d34d32bb59d58 (diff)
downloadlinux-99b9b4909c72e06b46e2fdf083c96b585cb84adb.tar.xz
auxdisplay: charlcd: fix two-line command ^[[LN not marked as processed
Signed-off-by: Robert Abel <rabel@robertabel.eu> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
-rw-r--r--drivers/auxdisplay/charlcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/auxdisplay/charlcd.c b/drivers/auxdisplay/charlcd.c
index ee39d1a85bf7..0246ff77e772 100644
--- a/drivers/auxdisplay/charlcd.c
+++ b/drivers/auxdisplay/charlcd.c
@@ -363,6 +363,7 @@ static inline int handle_lcd_special_code(struct charlcd *lcd)
break;
case 'N': /* Two Lines */
priv->flags |= LCD_FLAG_N;
+ processed = 1;
break;
case 'l': /* Shift Cursor Left */
if (priv->addr.x > 0) {