Commit 6a4193a2 authored by Bastien Armand's avatar Bastien Armand Committed by Greg Kroah-Hartman

staging: panel: fix regression in lcd_write

This patch fix a regression in lcd_write caused by commit
70a8c3ebSigned-off-by: default avatarBastien Armand <armand.bastien@laposte.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d901aaa7
......@@ -1324,7 +1324,7 @@ static ssize_t lcd_write(struct file *file,
that need some CPU */
schedule();
if (get_user(c, buf))
if (get_user(c, tmp))
return -EFAULT;
lcd_write_char(c);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment