diff --git a/drivers/gpu/drm/tinydrm/mipi-dbi.c b/drivers/gpu/drm/tinydrm/mipi-dbi.c index 07d49ba78d8e6fe2ef330cb6a70baf834d4acf74..2caecdea7ab3ca4eccad82292fd284b85f00967d 100644 --- a/drivers/gpu/drm/tinydrm/mipi-dbi.c +++ b/drivers/gpu/drm/tinydrm/mipi-dbi.c @@ -863,7 +863,7 @@ static ssize_t mipi_dbi_debugfs_command_write(struct file *file, { struct seq_file *m = file->private_data; struct mipi_dbi *mipi = m->private; - u8 val, cmd, parameters[64]; + u8 val, cmd = 0, parameters[64]; char *buf, *pos, *token; unsigned int i; int ret;