mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
media: usb: em28xx: use (t,l)/wxh format for rectangle
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>
This commit is contained in:
parent
992f05c535
commit
d1bbab01cc
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user