diff options
-rw-r--r-- | drivers/video/omap2/dss/dpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index 757b57f7275a..0bdcd4192176 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c | |||
@@ -129,7 +129,7 @@ static bool dpi_calc_dispc_cb(int lckd, int pckd, unsigned long lck, | |||
129 | * shifted. So skip all odd dividers when the pixel clock is on the | 129 | * shifted. So skip all odd dividers when the pixel clock is on the |
130 | * higher side. | 130 | * higher side. |
131 | */ | 131 | */ |
132 | if (ctx->pck_min >= 1000000) { | 132 | if (ctx->pck_min >= 100000000) { |
133 | if (lckd > 1 && lckd % 2 != 0) | 133 | if (lckd > 1 && lckd % 2 != 0) |
134 | return false; | 134 | return false; |
135 | 135 | ||
@@ -156,7 +156,7 @@ static bool dpi_calc_hsdiv_cb(int regm_dispc, unsigned long dispc, | |||
156 | * shifted. So skip all odd dividers when the pixel clock is on the | 156 | * shifted. So skip all odd dividers when the pixel clock is on the |
157 | * higher side. | 157 | * higher side. |
158 | */ | 158 | */ |
159 | if (regm_dispc > 1 && regm_dispc % 2 != 0 && ctx->pck_min >= 1000000) | 159 | if (regm_dispc > 1 && regm_dispc % 2 != 0 && ctx->pck_min >= 100000000) |
160 | return false; | 160 | return false; |
161 | 161 | ||
162 | ctx->dsi_cinfo.regm_dispc = regm_dispc; | 162 | ctx->dsi_cinfo.regm_dispc = regm_dispc; |