Skip to content

Commit

Permalink
Merge pull request #6 from xypron/dsitx_dcs_write
Browse files Browse the repository at this point in the history
drivers/video/fbdev/starfive/starfive_mipi_tx: correct va_start
  • Loading branch information
MichaelZhuxx authored May 11, 2021
2 parents 5d7c6da + 916f65a commit c0e7894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/fbdev/starfive/starfive_mipi_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ int dsitx_dcs_write(struct sf_fb_data *sf_dev, int n, ...)

wbuf.len = 0;
wbuf.val32 = 0;
va_start(ap, cmd_size);
va_start(ap, n);
for (i = 0; i < cmd_size; i++) {
wbuf.val8[wbuf.len++] = (char)va_arg(ap, int);
if (((i + 1) & 0x3) == 0) {
Expand Down

0 comments on commit c0e7894

Please sign in to comment.