Skip to content

Commit

Permalink
fix panel-dsi-simple driver for kernel 6.6, 6.9, 6.12 and 6.13
Browse files Browse the repository at this point in the history
  • Loading branch information
qbisi committed Feb 7, 2025
1 parent 8847f0b commit d86616f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ index 000000000000..111111111111
+ if (!mode)
+ return 0;
+
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, p->desc->bus_format,
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, &p->desc->bus_format,
+ OF_USE_NATIVE_MODE);
+ if (ret) {
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ index 000000000000..111111111111
+ if (!mode)
+ return 0;
+
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, p->desc->bus_format,
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, &p->desc->bus_format,
+ OF_USE_NATIVE_MODE);
+ if (ret) {
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ index 000000000000..e3c8dcf8cb5e
+ if (!mode)
+ return 0;
+
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, p->desc->bus_format,
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, &p->desc->bus_format,
+ OF_USE_NATIVE_MODE);
+ if (ret) {
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ index 000000000000..e3c8dcf8cb5e
+ if (!mode)
+ return 0;
+
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, p->desc->bus_format,
+ ret = of_get_drm_display_mode(panel->dev->of_node, mode, &p->desc->bus_format,
+ OF_USE_NATIVE_MODE);
+ if (ret) {
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
Expand Down

0 comments on commit d86616f

Please sign in to comment.