• Miguel Ojeda's avatar
    auxdisplay: charlcd: Fix and clean up handling of x/y commands · b34050fa
    Miguel Ojeda authored
    The current version is not parsing multiple x/y commands as the code
    originally intended. On top of that, kstrtoul() expects
    NULL-terminated strings. Finally, the code does two passes over
    the string.
    
    Some explanations about the supported syntax are added as well.
    
    Cc: Willy Tarreau <w@1wt.eu>
    Cc: Geert Uytterhoeven <geert@linux-m68k.org>
    Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
    Cc: Robert Abel <rabel@robertabel.eu>
    Signed-off-by: default avatarMiguel Ojeda <miguel.ojeda.sandonis@gmail.com>
    b34050fa
charlcd.c 21.1 KB