pmaports/device/testing/linux-htc-ace/03_msm-fb-pixclock.patch
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

13 lines
481 B
Diff

diff --git a/drivers/video/msm/msm_fb.c b/drivers/video/msm/msm_fb.c
index 015c3da18..34decdea8 100644
--- a/drivers/video/msm/msm_fb.c
+++ b/drivers/video/msm/msm_fb.c
@@ -1517,7 +1517,7 @@ static int msm_fb_register(struct msm_fb_data_type *mfd)
mfd->var_yres = panel_info->yres;
mfd->var_frame_rate = panel_info->frame_rate;
- var->pixclock = mfd->panel_info.clk_rate;
+ var->pixclock = 1000000 / 60;
mfd->var_pixclock = var->pixclock;
var->xres = panel_info->xres;