kernel: bump 5.4 to 5.4.28
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0480-drm-modes-parse_cmdline-Fix-possible-reference-past-.patch
index 1617a45d52c45412c8528660a44d3e05c5aa662e..9b514c3a2525346079b49df126e23fd9fd395da1 100644 (file)
@@ -138,4 +138,4 @@ Link: https://patchwork.freedesktop.org/patch/msgid/20191118155134.30468-1-hdego
 +              sep = delim;
        }
  
-       mode->rotation_reflection = rotation;
+       if (!(rotation & DRM_MODE_ROTATE_MASK))