From: Grazvydas Ignotas Date: Fri, 11 Jul 2014 22:25:20 +0000 (+0300) Subject: DSS2: print overlay related errors X-Git-Tag: sz_173~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=318d016e58d6c63cfb32ebb55194cd4554dfaf68;hp=5e5b9684289ad750826e964b16865f112764c88b;p=pandora-kernel.git DSS2: print overlay related errors otherwise it's hard to find out what's wrong in some cases --- diff --git a/drivers/video/omap2/dss/overlay.c b/drivers/video/omap2/dss/overlay.c index 285e8bae4056..0bb0a7ba4e05 100644 --- a/drivers/video/omap2/dss/overlay.c +++ b/drivers/video/omap2/dss/overlay.c @@ -538,7 +538,7 @@ int dss_check_overlay(struct omap_overlay *ovl, struct omap_dss_device *dssdev) info = &ovl->info; if (info->paddr == 0) { - DSSDBG("check_overlay failed: paddr 0\n"); + DSSERR("check_overlay failed: paddr 0\n"); return -EINVAL; } @@ -567,13 +567,13 @@ int dss_check_overlay(struct omap_overlay *ovl, struct omap_dss_device *dssdev) } if (dw < info->pos_x + outw) { - DSSDBG("check_overlay failed 1: %d < %d + %d\n", + DSSERR("check_overlay failed 1: %d < %d + %d\n", dw, info->pos_x, outw); return -EINVAL; } if (dh < info->pos_y + outh) { - DSSDBG("check_overlay failed 2: %d < %d + %d\n", + DSSERR("check_overlay failed 2: %d < %d + %d\n", dh, info->pos_y, outh); return -EINVAL; }