diff options
-rw-r--r-- | drivers/gpu/drm/sti/sti_gdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_gdp.c b/drivers/gpu/drm/sti/sti_gdp.c index 7255234670c0..7f6d0790cca6 100644 --- a/drivers/gpu/drm/sti/sti_gdp.c +++ b/drivers/gpu/drm/sti/sti_gdp.c @@ -648,7 +648,7 @@ static int sti_gdp_atomic_check(struct drm_plane *drm_plane, } /* Set gdp clock */ - if (gdp->clk_pix) { + if (mode->clock && gdp->clk_pix) { struct clk *clkp; int rate = mode->clock * 1000; int res; |