Skip to content

Commit 3c41df4

Browse files
committed
Merge tag 'media/v6.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media fixes from Mauro Carvalho Chehab: - two Kconfig fixes - one fix for the UVC driver addressing probing time detection of a UVC custom controls - one fix related to PDF generation * tag 'media/v6.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: media: v4l: Fix missing tabular column hint for Y14P format media: intel/ipu6: select AUXILIARY_BUS in Kconfig media: ipu-bridge: fix ipu6 Kconfig dependencies media: uvcvideo: Fix custom control mapping probing
2 parents defaf1a + e2ed536 commit 3c41df4

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ are often referred to as greyscale formats.
2121

2222
.. raw:: latex
2323

24-
\scriptsize
24+
\tiny
2525

26-
.. tabularcolumns:: |p{3.6cm}|p{3.0cm}|p{1.3cm}|p{2.6cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|
26+
.. tabularcolumns:: |p{3.6cm}|p{2.4cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|
2727

2828
.. flat-table:: Luma-Only Image Formats
2929
:header-rows: 1

drivers/media/pci/intel/ipu6/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ config VIDEO_INTEL_IPU6
33
depends on ACPI || COMPILE_TEST
44
depends on VIDEO_DEV
55
depends on X86 && X86_64 && HAS_DMA
6+
depends on IPU_BRIDGE || !IPU_BRIDGE
7+
select AUXILIARY_BUS
68
select DMA_OPS
79
select IOMMU_IOVA
810
select VIDEO_V4L2_SUBDEV_API
911
select MEDIA_CONTROLLER
1012
select VIDEOBUF2_DMA_CONTIG
1113
select V4L2_FWNODE
12-
select IPU_BRIDGE
1314
help
1415
This is the 6th Gen Intel Image Processing Unit, found in Intel SoCs
1516
and used for capturing images and video from camera sensors.

drivers/media/usb/uvc/uvc_ctrl.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2680,16 +2680,18 @@ static void uvc_ctrl_init_ctrl(struct uvc_video_chain *chain,
26802680
for (i = 0; i < ARRAY_SIZE(uvc_ctrl_mappings); ++i) {
26812681
const struct uvc_control_mapping *mapping = &uvc_ctrl_mappings[i];
26822682

2683+
if (!uvc_entity_match_guid(ctrl->entity, mapping->entity) ||
2684+
ctrl->info.selector != mapping->selector)
2685+
continue;
2686+
26832687
/* Let the device provide a custom mapping. */
26842688
if (mapping->filter_mapping) {
26852689
mapping = mapping->filter_mapping(chain, ctrl);
26862690
if (!mapping)
26872691
continue;
26882692
}
26892693

2690-
if (uvc_entity_match_guid(ctrl->entity, mapping->entity) &&
2691-
ctrl->info.selector == mapping->selector)
2692-
__uvc_ctrl_add_mapping(chain, ctrl, mapping);
2694+
__uvc_ctrl_add_mapping(chain, ctrl, mapping);
26932695
}
26942696
}
26952697

0 commit comments

Comments
 (0)