Skip to content

Commit

Permalink
correct the kernel version of prepare_prev_first for reTerminal DM
Browse files Browse the repository at this point in the history
Signed-off-by: bigbearishappy <[email protected]>
  • Loading branch information
bigbearishappy committed Mar 28, 2024
1 parent 6a9a9ae commit 95fc51c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ili9881d/ili9881d.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ static int ili9881d_dsi_probe(struct mipi_dsi_device *dsi)
ctx->dsi = dsi;
ctx->desc = of_device_get_match_data(&dsi->dev);

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 20)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
ctx->panel.prepare_prev_first = true;
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)
ctx->panel.prepare_upstream_first = true;
Expand Down

0 comments on commit 95fc51c

Please sign in to comment.