Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 197a47f2 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Mauro Carvalho Chehab
Browse files

[media] rcar_vin: fix error message in rcar_vin_get_formats()



The dev_err() call is supposed to output <width>x<height> in decimal but one of
the format specifiers is "%x" instead of "%u" (most probably due  to a typo).

Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 2ea12442
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -981,7 +981,7 @@ static int rcar_vin_get_formats(struct soc_camera_device *icd, unsigned int idx,

		if (shift == 3) {
			dev_err(dev,
				"Failed to configure the client below %ux%x\n",
				"Failed to configure the client below %ux%u\n",
				mf.width, mf.height);
			return -EIO;
		}