diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_overlay.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_overlay.c b/drivers/video/fbdev/msm/mdss_mdp_overlay.c index 33e4543a06fb..995079045f20 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_overlay.c +++ b/drivers/video/fbdev/msm/mdss_mdp_overlay.c @@ -115,11 +115,10 @@ static int mdss_mdp_overlay_req_check(struct msm_fb_data_type *mfd, if (fmt->is_yuv) { if ((req->src_rect.x & 0x1) || (req->src_rect.y & 0x1) || (req->src_rect.w & 0x1) || (req->src_rect.h & 0x1)) { - pr_err("invalid odd src resolution\n"); + pr_err("invalid odd src resolution or coordinates\n"); return -EINVAL; } - if ((req->dst_rect.x & 0x1) || (req->dst_rect.y & 0x1) || - (req->dst_rect.w & 0x1) || (req->dst_rect.h & 0x1)) { + if ((req->dst_rect.w & 0x1) || (req->dst_rect.h & 0x1)) { pr_err("invalid odd dst resolution\n"); return -EINVAL; } |
