drm/sti: fix typo issue in sti_mode_config_init
authorVincent Abriou <vincent.abriou@st.com>
Thu, 29 Oct 2015 13:20:27 +0000 (14:20 +0100)
committerVincent Abriou <vincent.abriou@st.com>
Tue, 3 Nov 2015 12:04:55 +0000 (13:04 +0100)
Assign width to width and height to height.

Signed-off-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_drv.c

index 45c6375..1469987 100644 (file)
@@ -123,8 +123,8 @@ static void sti_mode_config_init(struct drm_device *dev)
         * this value would be used to check framebuffer size limitation
         * at drm_mode_addfb().
         */
-       dev->mode_config.max_width = STI_MAX_FB_HEIGHT;
-       dev->mode_config.max_height = STI_MAX_FB_WIDTH;
+       dev->mode_config.max_width = STI_MAX_FB_WIDTH;
+       dev->mode_config.max_height = STI_MAX_FB_HEIGHT;
 
        dev->mode_config.funcs = &sti_mode_config_funcs;
 }