Skip to content

Commit e51fbbf

Browse files
author
Josuah Demangeon
committed
usb: uvc: common: correct the size for UVC_PU_CONTRAST_CONTROL
The USB control size field was wrong for UVC_PU_CONTRAST_CONTROL. Correct it to the correct value from the standard. Signed-off-by: Josuah Demangeon <[email protected]>
1 parent cfd72a3 commit e51fbbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/usb/common/usb_common_uvc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static const struct uvc_control_map uvc_control_map_pu[] = {
9999
.type = UVC_CONTROL_SIGNED,
100100
},
101101
{
102-
.size = 1,
102+
.size = 2,
103103
.bit = 1,
104104
.selector = UVC_PU_CONTRAST_CONTROL,
105105
.cid = VIDEO_CID_CONTRAST,

0 commit comments

Comments
 (0)