Commit 7f26eee5 authored by Tomi Valkeinen's avatar Tomi Valkeinen Committed by Sean Paul

drm/omap: add missing linefeeds to prints

A bunch of debug and error prints are missing linefeeds. Add those.
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180502091159.7071-4-tomi.valkeinen@ti.comReviewed-by: default avatarBenoit Parrot <bparrot@ti.com>
Reviewed-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
parent e1cdab6e
...@@ -2348,7 +2348,7 @@ static int dispc_ovl_calc_scaling_24xx(struct dispc_device *dispc, ...@@ -2348,7 +2348,7 @@ static int dispc_ovl_calc_scaling_24xx(struct dispc_device *dispc,
} }
if (in_width > maxsinglelinewidth) { if (in_width > maxsinglelinewidth) {
DSSERR("Cannot scale max input width exceeded"); DSSERR("Cannot scale max input width exceeded\n");
return -EINVAL; return -EINVAL;
} }
return 0; return 0;
...@@ -2430,13 +2430,13 @@ static int dispc_ovl_calc_scaling_34xx(struct dispc_device *dispc, ...@@ -2430,13 +2430,13 @@ static int dispc_ovl_calc_scaling_34xx(struct dispc_device *dispc,
} }
if (in_width > (maxsinglelinewidth * 2)) { if (in_width > (maxsinglelinewidth * 2)) {
DSSERR("Cannot setup scaling"); DSSERR("Cannot setup scaling\n");
DSSERR("width exceeds maximum width possible"); DSSERR("width exceeds maximum width possible\n");
return -EINVAL; return -EINVAL;
} }
if (in_width > maxsinglelinewidth && *five_taps) { if (in_width > maxsinglelinewidth && *five_taps) {
DSSERR("cannot setup scaling with five taps"); DSSERR("cannot setup scaling with five taps\n");
return -EINVAL; return -EINVAL;
} }
return 0; return 0;
...@@ -2478,7 +2478,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc, ...@@ -2478,7 +2478,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc,
in_width > maxsinglelinewidth && ++*decim_x); in_width > maxsinglelinewidth && ++*decim_x);
if (in_width > maxsinglelinewidth) { if (in_width > maxsinglelinewidth) {
DSSERR("Cannot scale width exceeds max line width"); DSSERR("Cannot scale width exceeds max line width\n");
return -EINVAL; return -EINVAL;
} }
...@@ -2496,7 +2496,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc, ...@@ -2496,7 +2496,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc,
* bandwidth. Despite what theory says this appears to * bandwidth. Despite what theory says this appears to
* be true also for 16-bit color formats. * be true also for 16-bit color formats.
*/ */
DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)", *decim_x); DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)\n", *decim_x);
return -EINVAL; return -EINVAL;
} }
...@@ -4639,7 +4639,7 @@ static int dispc_errata_i734_wa_init(struct dispc_device *dispc) ...@@ -4639,7 +4639,7 @@ static int dispc_errata_i734_wa_init(struct dispc_device *dispc)
i734_buf.size, &i734_buf.paddr, i734_buf.size, &i734_buf.paddr,
GFP_KERNEL); GFP_KERNEL);
if (!i734_buf.vaddr) { if (!i734_buf.vaddr) {
dev_err(&dispc->pdev->dev, "%s: dma_alloc_writecombine failed", dev_err(&dispc->pdev->dev, "%s: dma_alloc_writecombine failed\n",
__func__); __func__);
return -ENOMEM; return -ENOMEM;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment