staging: panel: fix regression in lcd_write
This patch fix a regression in lcd_write caused by commit
70a8c3eb85
Signed-off-by: Bastien Armand <armand.bastien@laposte.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d901aaa723
commit
6a4193a276
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue