diff --git a/msm/dsi/dsi_drm.c b/msm/dsi/dsi_drm.c index 19a41015ed..fb3df7e615 100644 --- a/msm/dsi/dsi_drm.c +++ b/msm/dsi/dsi_drm.c @@ -825,8 +825,8 @@ int dsi_connector_get_modes(struct drm_connector *connector, void *data, struct drm_display_mode drm_mode; struct dsi_display *display = data; struct edid edid; - u8 width_mm = connector->display_info.width_mm; - u8 height_mm = connector->display_info.height_mm; + unsigned int width_mm = connector->display_info.width_mm; + unsigned int height_mm = connector->display_info.height_mm; const u8 edid_buf[EDID_LENGTH] = { 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x44, 0x6D, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x1B, 0x10, 0x01, 0x03,