summaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay/charlcd.c
diff options
context:
space:
mode:
authorRobert Abel <rabel@robertabel.eu>2018-02-25 18:54:29 -0500
committerMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>2018-04-12 13:02:43 -0400
commit99b9b4909c72e06b46e2fdf083c96b585cb84adb (patch)
tree9ad8cba4b305eb8ee5ef441b825fc60303725250 /drivers/auxdisplay/charlcd.c
parent9629ccca3b82491402ebbed8c03d34d32bb59d58 (diff)
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>
Diffstat (limited to 'drivers/auxdisplay/charlcd.c')
-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)
363 break; 363 break;
364 case 'N': /* Two Lines */ 364 case 'N': /* Two Lines */
365 priv->flags |= LCD_FLAG_N; 365 priv->flags |= LCD_FLAG_N;
366 processed = 1;
366 break; 367 break;
367 case 'l': /* Shift Cursor Left */ 368 case 'l': /* Shift Cursor Left */
368 if (priv->addr.x > 0) { 369 if (priv->addr.x > 0) {