pmaports/device/linux-xiaomi-mido/05_fix_mdp3_ctrl_off.patch
Nikolay 12f0b3ce80 Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido) (#1415)
* Add initial device support for Xiaomi Redmi Note 4 (xiaomi-mido)

* Update APKBUILD

* Update APKBUILD

* Wifi support for Xiaomi Redmi Note 4

* Update APKBUILD

* Download firmware from different repo for Xiaomi Redmi Note 4

* Split up cat line
2018-04-25 11:40:16 +02:00

13 lines
544 B
Diff

diff --git a/drivers/video/msm/mdss/mdp3_ctrl.c b/drivers/video/msm/mdss/mdp3_ctrl.c
index f9f55138..ccaebcb6 100644
--- a/drivers/video/msm/mdss/mdp3_ctrl.c
+++ b/drivers/video/msm/mdss/mdp3_ctrl.c
@@ -1832,7 +1832,7 @@ int mdp3_ctrl_init(struct msm_fb_data_type *mfd)
splash_mismatch = 1;
mdp3_interface->on_fnc = mdp3_ctrl_on;
- mdp3_interface->off_fnc = mdp3_ctrl_off;
+ mdp3_interface->off_fnc = NULL;
mdp3_interface->do_histogram = NULL;
mdp3_interface->cursor_update = NULL;
mdp3_interface->dma_fnc = mdp3_ctrl_pan_display;