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>
This commit is contained in:
Ingrid Gallardo 2016-10-12 18:40:25 -07:00
parent 3c7400dc73
commit feea7e613d

View file

@ -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;
}