Skip to content

Commit 7f26eee

Browse files
tombaatseanpaul
authored andcommitted
drm/omap: add missing linefeeds to prints
A bunch of debug and error prints are missing linefeeds. Add those. Signed-off-by: Tomi Valkeinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Benoit Parrot <[email protected]> Reviewed-by: Peter Ujfalusi <[email protected]> Signed-off-by: Sean Paul <[email protected]>
1 parent e1cdab6 commit 7f26eee

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/gpu/drm/omapdrm/dss/dispc.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2348,7 +2348,7 @@ static int dispc_ovl_calc_scaling_24xx(struct dispc_device *dispc,
23482348
}
23492349

23502350
if (in_width > maxsinglelinewidth) {
2351-
DSSERR("Cannot scale max input width exceeded");
2351+
DSSERR("Cannot scale max input width exceeded\n");
23522352
return -EINVAL;
23532353
}
23542354
return 0;
@@ -2430,13 +2430,13 @@ static int dispc_ovl_calc_scaling_34xx(struct dispc_device *dispc,
24302430
}
24312431

24322432
if (in_width > (maxsinglelinewidth * 2)) {
2433-
DSSERR("Cannot setup scaling");
2434-
DSSERR("width exceeds maximum width possible");
2433+
DSSERR("Cannot setup scaling\n");
2434+
DSSERR("width exceeds maximum width possible\n");
24352435
return -EINVAL;
24362436
}
24372437

24382438
if (in_width > maxsinglelinewidth && *five_taps) {
2439-
DSSERR("cannot setup scaling with five taps");
2439+
DSSERR("cannot setup scaling with five taps\n");
24402440
return -EINVAL;
24412441
}
24422442
return 0;
@@ -2478,7 +2478,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc,
24782478
in_width > maxsinglelinewidth && ++*decim_x);
24792479

24802480
if (in_width > maxsinglelinewidth) {
2481-
DSSERR("Cannot scale width exceeds max line width");
2481+
DSSERR("Cannot scale width exceeds max line width\n");
24822482
return -EINVAL;
24832483
}
24842484

@@ -2496,7 +2496,7 @@ static int dispc_ovl_calc_scaling_44xx(struct dispc_device *dispc,
24962496
* bandwidth. Despite what theory says this appears to
24972497
* be true also for 16-bit color formats.
24982498
*/
2499-
DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)", *decim_x);
2499+
DSSERR("Not enough bandwidth, too much downscaling (x-decimation factor %d > 4)\n", *decim_x);
25002500

25012501
return -EINVAL;
25022502
}
@@ -4639,7 +4639,7 @@ static int dispc_errata_i734_wa_init(struct dispc_device *dispc)
46394639
i734_buf.size, &i734_buf.paddr,
46404640
GFP_KERNEL);
46414641
if (!i734_buf.vaddr) {
4642-
dev_err(&dispc->pdev->dev, "%s: dma_alloc_writecombine failed",
4642+
dev_err(&dispc->pdev->dev, "%s: dma_alloc_writecombine failed\n",
46434643
__func__);
46444644
return -ENOMEM;
46454645
}

0 commit comments

Comments
 (0)