diff options
Diffstat (limited to 'drivers/video/exynos_mipi_dsi_common.c')
-rw-r--r-- | drivers/video/exynos_mipi_dsi_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/exynos_mipi_dsi_common.c b/drivers/video/exynos_mipi_dsi_common.c index 6531470f0..9aab41514 100644 --- a/drivers/video/exynos_mipi_dsi_common.c +++ b/drivers/video/exynos_mipi_dsi_common.c @@ -125,10 +125,10 @@ int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id, return -EINVAL; } - delay_val = MHZ / dsim->dsim_config->esc_clk; + delay_val = MHZ * 1000 / dsim->dsim_config->esc_clk; delay = 10 * delay_val; - mdelay(delay); + udelay(delay); /* only if transfer mode is LPDT, wait SFR becomes empty. */ if (dsim->state == DSIM_STATE_STOP) { |