diff options
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_mic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 9869d70e9e54..8fe42c4f0587 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -193,7 +193,7 @@ static void mic_set_output_timing(struct exynos_mic *mic) u32 reg, bs_size_2d; DRM_DEBUG("w: %u, h: %u\n", vm.hactive, vm.vactive); - bs_size_2d = ((vm.hactive >> 2) << 1) + (vm.vactive % 4); + bs_size_2d = ((vm.hactive >> 2) << 1) + (vm.hactive % 4); reg = MIC_BS_SIZE_2D(bs_size_2d); writel(reg, mic->reg + MIC_2D_OUTPUT_TIMING_2); |