android_kernel_msm-6.1_noth.../include/uapi/linux/usb
Daniel Scally 2d1a2452a6 UPSTREAM: usb: gadget: uvc: Rename bmInterfaceFlags -> bmInterlaceFlags
In the specification documents for the Uncompressed and MJPEG USB
Video Payloads, the field name is bmInterlaceFlags - it has been
misnamed within the kernel.

Although renaming the field does break the kernel's interface to
userspace it should be low-risk in this instance. The field is read
only and hardcoded to 0, so there was never any value in anyone
reading it. A search of the uvc-gadget application and all the
forks that I could find for it did not reveal any users either.

Fixes: cdda479f15 ("USB gadget: video class function driver")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Link: https://lore.kernel.org/r/20221206161203.1562827-1-dan.scally@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit 81c25247a2a03a0f97e4805d7aff7541ccff6baa)
Bug: 259171206
Change-Id: I95ad86d0c0ab097b215e1ef655beea80c2cdb570
Signed-off-by: Avichal Rakesh <arakesh@google.com>
(cherry picked from commit 4d8c2d84cbd51aa0ef6e1ec096a760ab8124092d)
2023-01-26 13:38:58 -08:00
..
audio.h treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
cdc-wdm.h
cdc.h USB / Thunderbolt changes for 6.0-rc1 2022-08-04 11:41:28 -07:00
ch9.h treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
ch11.h
charger.h
f_accessory.h
functionfs.h
g_printer.h
g_uvc.h UPSTREAM: usb: gadget: uvc: default the ctrl request interface offsets 2023-01-26 13:38:57 -08:00
gadgetfs.h
midi.h
raw_gadget.h treewide: uapi: Replace zero-length arrays with flexible-array members 2022-06-28 21:26:05 +02:00
tmc.h
video.h UPSTREAM: usb: gadget: uvc: Rename bmInterfaceFlags -> bmInterlaceFlags 2023-01-26 13:38:58 -08:00