diff options
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c index db307e3c1dd5..8303776647fc 100644 --- a/drivers/video/omap2/omapfb/omapfb-main.c +++ b/drivers/video/omap2/omapfb/omapfb-main.c | |||
@@ -683,7 +683,7 @@ int check_fb_var(struct fb_info *fbi, struct fb_var_screeninfo *var) | |||
683 | } | 683 | } |
684 | } | 684 | } |
685 | 685 | ||
686 | if (var->rotate < 0 || var->rotate > 3) | 686 | if (var->rotate > 3) |
687 | return -EINVAL; | 687 | return -EINVAL; |
688 | 688 | ||
689 | if (check_fb_res_bounds(var)) | 689 | if (check_fb_res_bounds(var)) |