]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: usb: em28xx: use (t,l)/wxh format for rectangle
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 4 Mar 2025 11:08:10 +0000 (12:08 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 30 Apr 2025 06:16:06 +0000 (08:16 +0200)
Standardize reporting of rectangles to (t,l)/wxh.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/em28xx/em28xx-video.c

index 66c09bc6d59ed29328c081c03e0084877ea8d7d0..2dfa3242a7ab52b7dcaf279efe54bbcf00658fdf 100644 (file)
@@ -264,7 +264,7 @@ static void em28xx_capture_area_set(struct em28xx *dev, u8 hstart, u8 vstart,
        u8 overflow = (height >> 9 & 0x02) | (width >> 10 & 0x01);
        /* NOTE: size limit: 2047x1023 = 2MPix */
 
-       em28xx_videodbg("capture area set to (%d,%d): %dx%d\n",
+       em28xx_videodbg("capture area set to (%u,%u)/%ux%u\n",
                        hstart, vstart,
                       ((overflow & 2) << 9 | cwidth << 2),
                       ((overflow & 1) << 10 | cheight << 2));