mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] video: ipuv3: combine two subsequent info prints into one
@ 2022-04-08 13:17 Ahmad Fatoum
  2022-04-12  7:51 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2022-04-08 13:17 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

Makes the logging more tidy that way.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 drivers/video/imx-ipu-v3/ipufb.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/video/imx-ipu-v3/ipufb.c b/drivers/video/imx-ipu-v3/ipufb.c
index 0b5391643450..09a8d22ca155 100644
--- a/drivers/video/imx-ipu-v3/ipufb.c
+++ b/drivers/video/imx-ipu-v3/ipufb.c
@@ -111,10 +111,8 @@ static int ipu_crtc_mode_set(struct ipufb_info *fbi,
 	struct ipu_di_mode di_mode = {};
 	u32 bus_format = 0;
 
-	dev_info(fbi->dev, "%s: mode->xres: %d\n", __func__,
-			mode->xres);
-	dev_info(fbi->dev, "%s: mode->yres: %d\n", __func__,
-			mode->yres);
+	dev_info(fbi->dev, "%s: mode->xres: %d mode->yres: %d\n", __func__,
+		 mode->xres, mode->yres);
 
 	vpl_ioctl(&fbi->vpl, 2 + fbi->dino, IMX_IPU_VPL_DI_MODE, &di_mode);
 	vpl_ioctl(&fbi->vpl, 2 + fbi->dino, VPL_GET_BUS_FORMAT, &bus_format);
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] video: ipuv3: combine two subsequent info prints into one
  2022-04-08 13:17 [PATCH] video: ipuv3: combine two subsequent info prints into one Ahmad Fatoum
@ 2022-04-12  7:51 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-04-12  7:51 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Fri, Apr 08, 2022 at 03:17:10PM +0200, Ahmad Fatoum wrote:
> Makes the logging more tidy that way.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  drivers/video/imx-ipu-v3/ipufb.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/video/imx-ipu-v3/ipufb.c b/drivers/video/imx-ipu-v3/ipufb.c
> index 0b5391643450..09a8d22ca155 100644
> --- a/drivers/video/imx-ipu-v3/ipufb.c
> +++ b/drivers/video/imx-ipu-v3/ipufb.c
> @@ -111,10 +111,8 @@ static int ipu_crtc_mode_set(struct ipufb_info *fbi,
>  	struct ipu_di_mode di_mode = {};
>  	u32 bus_format = 0;
>  
> -	dev_info(fbi->dev, "%s: mode->xres: %d\n", __func__,
> -			mode->xres);
> -	dev_info(fbi->dev, "%s: mode->yres: %d\n", __func__,
> -			mode->yres);
> +	dev_info(fbi->dev, "%s: mode->xres: %d mode->yres: %d\n", __func__,
> +		 mode->xres, mode->yres);
>  
>  	vpl_ioctl(&fbi->vpl, 2 + fbi->dino, IMX_IPU_VPL_DI_MODE, &di_mode);
>  	vpl_ioctl(&fbi->vpl, 2 + fbi->dino, VPL_GET_BUS_FORMAT, &bus_format);
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-12  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-08 13:17 [PATCH] video: ipuv3: combine two subsequent info prints into one Ahmad Fatoum
2022-04-12  7:51 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox