]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/omapdrm/dss/dpi.c
drm/omap: omap_display_timings: rename x_res to hactive
[karo-tx-linux.git] / drivers / gpu / drm / omapdrm / dss / dpi.c
index b268295b76cfe996725869acb668b645202b39c2..d653f492cbfd557166c1bc0a5214a4cfe82b9445 100644 (file)
@@ -512,7 +512,7 @@ static int dpi_check_timings(struct omap_dss_device *dssdev,
        struct dpi_clk_calc_ctx ctx;
        bool ok;
 
-       if (timings->x_res % 8 != 0)
+       if (timings->hactive % 8 != 0)
                return -EINVAL;
 
        if (!dispc_mgr_timings_ok(channel, timings))