Skip to content

Commit

Permalink
drm_panel.prepare_prev_first: Corrected the kernel version appropriately
Browse files Browse the repository at this point in the history
When building with ubuntu23.10 (kernel 6.5),
the fixes in the commit below are not applied and an error occurs,
so I fixed it to the appropriate kernel version.

commit:
  c22019a

See. torvalds/linux@5ea6b17
  • Loading branch information
mnakai3 committed Mar 27, 2024
1 parent 683d5a8 commit 4876ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mipi_dsi/mipi_dsi_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ static int i2c_md_probe(struct i2c_client *i2c, const struct i2c_device_id *id)

DBG_FUNC("Add panel");
md->panel_data->set_dsi(md->dsi);
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 6, 20)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
md->panel.prepare_prev_first = true;
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)
md->panel.prepare_upstream_first = true;
Expand Down

0 comments on commit 4876ef2

Please sign in to comment.