drm/stm: checkpatch strict minor updates
Minor fixes detected with "scripts/checkpatch.pl --strict" Signed-off-by: Philippe Cornu <philippe.cornu@st.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/1509013473-18365-1-git-send-email-philippe.cornu@st.com
This commit is contained in:

committed by
Benjamin Gaignard

parent
bb3fb5e515
commit
0163d1f62f
@@ -556,7 +556,7 @@ static int ltdc_plane_atomic_check(struct drm_plane *plane,
|
||||
src_h = state->src_h >> 16;
|
||||
|
||||
/* Reject scaling */
|
||||
if ((src_w != state->crtc_w) || (src_h != state->crtc_h)) {
|
||||
if (src_w != state->crtc_w || src_h != state->crtc_h) {
|
||||
DRM_ERROR("Scaling is not supported");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user