mirror of https://github.com/armbian/build.git
fix panel-dsi-simple driver for kernel 6.6, 6.9, 6.12 and 6.13
This commit is contained in:
parent
cda1089d61
commit
3cdf696769
|
@ -388,7 +388,7 @@ index 000000000000..111111111111
|
||||||
+ if (!mode)
|
+ if (!mode)
|
||||||
+ return 0;
|
+ 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);
|
+ OF_USE_NATIVE_MODE);
|
||||||
+ if (ret) {
|
+ if (ret) {
|
||||||
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
||||||
|
|
|
@ -388,7 +388,7 @@ index 000000000000..111111111111
|
||||||
+ if (!mode)
|
+ if (!mode)
|
||||||
+ return 0;
|
+ 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);
|
+ OF_USE_NATIVE_MODE);
|
||||||
+ if (ret) {
|
+ if (ret) {
|
||||||
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
||||||
|
|
|
@ -388,7 +388,7 @@ index 000000000000..e3c8dcf8cb5e
|
||||||
+ if (!mode)
|
+ if (!mode)
|
||||||
+ return 0;
|
+ 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);
|
+ OF_USE_NATIVE_MODE);
|
||||||
+ if (ret) {
|
+ if (ret) {
|
||||||
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
||||||
|
|
|
@ -388,7 +388,7 @@ index 000000000000..e3c8dcf8cb5e
|
||||||
+ if (!mode)
|
+ if (!mode)
|
||||||
+ return 0;
|
+ 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);
|
+ OF_USE_NATIVE_MODE);
|
||||||
+ if (ret) {
|
+ if (ret) {
|
||||||
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
+ dev_dbg(panel->dev, "failed to find dts display timings\n");
|
||||||
|
|
Loading…
Reference in New Issue