diff options
| author | Ingrid Gallardo <ingridg@codeaurora.org> | 2016-10-12 18:40:25 -0700 |
|---|---|---|
| committer | Ingrid Gallardo <ingridg@codeaurora.org> | 2016-10-13 11:58:30 -0700 |
| commit | feea7e613ddeb47c84916c92bb5433138b0c26ff (patch) | |
| tree | 94d828b7a7267432913de10931bd17b67eb15ea2 | |
| parent | 3c7400dc73db9b1455032e8d6e7679f27869cd75 (diff) | |
msm: mdss: fix typo in the error message for multirect validation
If during the multirect validation an error is found,
driver tries to print the both rectangles causing
the error. Currently the printed values are wrong
due a typo on the height of the rectangles, this is
misleading to debug the actual errors.
Change-Id: Ic48e3a65b19c378deff7e5c149d5b30aca6e73c7
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp_layer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp_layer.c b/drivers/video/fbdev/msm/mdss_mdp_layer.c index 91d4332700b6..b2c2f19e402d 100644 --- a/drivers/video/fbdev/msm/mdss_mdp_layer.c +++ b/drivers/video/fbdev/msm/mdss_mdp_layer.c @@ -1618,8 +1618,8 @@ static bool __multirect_validate_rects(struct mdp_input_layer **layers, /* resolution related validation */ if (mdss_rect_overlap_check(&dst[0], &dst[1])) { pr_err("multirect dst overlap is not allowed. input: %d,%d,%d,%d paired %d,%d,%d,%d\n", - dst[0].x, dst[0].y, dst[0].w, dst[0].y, - dst[1].x, dst[1].y, dst[1].w, dst[1].y); + dst[0].x, dst[0].y, dst[0].w, dst[0].h, + dst[1].x, dst[1].y, dst[1].w, dst[1].h); return false; } |
