[git:media_stage/master] media: pvrusb2: remove redundant NULL check

2024-02-16 Thread Hans Verkuil
eck. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: c74e0062684b ("V4L/DVB (5059): Pvrusb2: Be smarter about mode restoration") Signed-off-by: Daniil Dulov Signed-off-by: Hans Verkuil drivers/media/usb/pvrusb2/pvrusb2-v4l2.c | 5 - 1 file changed

[git:media_stage/master] media: msp3400: Use wait_event_freezable_timeout() in msp_sleep()

2024-02-16 Thread Hans Verkuil
-by: Kevin Hao Signed-off-by: Hans Verkuil drivers/media/i2c/msp3400-driver.c | 22 +++--- drivers/media/i2c/msp3400-driver.h | 2 +- 2 files changed, 8 insertions(+), 16 deletions(-) --- diff --git a/drivers/media/i2c/msp3400-driver.c b/drivers/media/i2c/msp3400-driver.c index

[git:media_stage/master] media: amphion: Abort vpu parsing directly in seek

2024-02-16 Thread Hans Verkuil
parsing the sequence header, driver may miss aborting the parsing. so just abort the vpu parsing directly in seek. Meanwhile if capture is off unexpectedly, we still need to abort the decoding and return capture buffers. Signed-off-by: Ming Qian Signed-off-by: Hans Verkuil drivers/media

[git:media_stage/master] media: v4l2-ctrls-core.c: check min/max for menu, controls

2024-02-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-ctrls-core.c: check min/max for menu, controls Author: Hans Verkuil Date:Mon Feb 5 12:10:31 2024 +0100 Menu controls that use the menu_skip_mask require that the min-max range

[git:media_stage/master] media: staging: imx: controls are from another device, mark this

2024-02-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: staging: imx: controls are from another device, mark this Author: Hans Verkuil Date:Wed Jan 17 12:46:45 2024 +0100 The last argument of v4l2_ctrl_add_handler() indicates whether the

[git:media_stage/master] media: i2c: st-vgxy61: remove redundant initialization of pointer mode

2024-02-16 Thread Hans Verkuil
n Ian King Reviewed-by: Benjamin Mugnier Signed-off-by: Hans Verkuil drivers/media/i2c/st-vgxy61.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/st-vgxy61.c b/drivers/media/i2c/st-vgxy61.c index 2d64466d7ecf..b9e7c57027b1 100644 --- a/drivers/media/i2c/s

[git:media_stage/master] media: ti: Use devm_platform_ioremap_resource() in ti_csi2rx_probe()

2024-02-16 Thread Hans Verkuil
by: Markus Elfring Reviewed-by: Jai Luthra Signed-off-by: Hans Verkuil drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- diff --git a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c b/drivers/media/platform/ti/j721e-cs

[git:media_stage/master] media: tda18271: remove redundant assignment to variable bcal

2024-02-16 Thread Hans Verkuil
Signed-off-by: Colin Ian King Signed-off-by: Hans Verkuil drivers/media/tuners/tda18271-fe.c | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/media/tuners/tda18271-fe.c b/drivers/media/tuners/tda18271-fe.c index f0371d004b36..a7e721baaa99 100644 --- a/drivers/media/tuners/tda

[git:media_stage/master] media: core: v4l2-ioctl.c: use is_valid_ioctl()

2024-02-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: core: v4l2-ioctl.c: use is_valid_ioctl() Author: Hans Verkuil Date:Wed Feb 7 10:03:30 2024 +0100 In most cases the is_valid_ioctl() macro is used to check if an ioctl is valid

[git:media_stage/master] media: platform: cros-ec: Add Dita to the match table

2024-02-16 Thread Hans Verkuil
the HDMI CEC via the cros-ec-cec driver. Signed-off-by: Kells Ping Signed-off-by: Hans Verkuil drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++ 1 file changed, 2 insertions(+) --- diff --git a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c b/drivers/media/cec/platform/cros-ec/cros

[git:media_stage/master] media: bt8xx: make bttv_sub_bus_type const

2024-02-16 Thread Hans Verkuil
bttv_sub_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman Suggested-by: Greg Kroah-Hartman Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman Signed-off-by: Hans Verkuil drivers

[git:media_stage/master] media: sta2x11: fix irq handler cast

2024-02-16 Thread Hans Verkuil
ype-strict] Change the prototype of the irq handler to the regular version with a local variable to adjust the argument type. Signed-off-by: Arnd Bergmann Signed-off-by: Hans Verkuil [hverkuil: update argument documentation] drivers/media/pci/sta2x11/sta2x11_vip.c | 9 - 1 fi

[git:media_stage/master] docs: media: fix typo in docs

2024-02-16 Thread Hans Verkuil
application to the "Linux Kernel Bug Fixing Spring Unpaid 2024" mentorship program of the Linux Kernel Foundation. Signed-off-by: Vincenzo Mezzela Signed-off-by: Hans Verkuil Documentation/driver-api/media/v4l2-subdev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- di

[git:media_stage/master] media: videobuf2: Add missing doc comment for waiting_in_dqbuf

2024-02-16 Thread Hans Verkuil
struct members. Fixes: d65842f7126a ("media: vb2: add waiting_in_dqbuf flag") Signed-off-by: Andrzej Pietrasiewicz Acked-by: Tomasz Figa Signed-off-by: Hans Verkuil include/media/videobuf2-core.h | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) --- diff --git

[git:media_stage/master] media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed

2024-02-16 Thread Hans Verkuil
o see if anything else has the same bug, but these two appear to be the only ones. Signed-off-by: Arnd Bergmann Acked-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/platform/marvell/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- diff --git a/drivers/media/platform/marvell

[git:media_stage/master] media: visl: Add codec specific variability on output frames

2024-02-16 Thread Hans Verkuil
frames could be too similar and hide possible issues. This commit adds variation by using some codec specific parameters. Only HEVC and H.264 support this. Reviewed-by: Daniel Almeida Signed-off-by: Detlev Casanova Signed-off-by: Hans Verkuil [hverkuil: add media: prefix to Subject] drivers

[git:media_stage/master] doc: media: visl: Document tpg_verbose parameter

2024-02-16 Thread Hans Verkuil
: Detlev Casanova Signed-off-by: Hans Verkuil [hverkuil: add media: prefix to Subject] Documentation/admin-guide/media/visl.rst | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- diff --git a/Documentation/admin-guide/media/visl.rst b/Documentation/admin-guide/media

[git:media_stage/master] media: visl: Add a tpg_verbose parameter

2024-02-16 Thread Hans Verkuil
-off-by: Hans Verkuil [hverkuil: correct a few small checkpatch issues] drivers/media/test-drivers/visl/visl-core.c | 5 + drivers/media/test-drivers/visl/visl-dec.c | 265 +++- drivers/media/test-drivers/visl/visl.h | 1 + 3 files changed, 153 insertions(+), 118

[git:media_stage/master] media: visl,vidtv: Set parameters permissions to 0444

2024-02-16 Thread Hans Verkuil
the modules parameters values at run time. This can be useful when setting up a test suite. Reviewed-by: Daniel Almeida Signed-off-by: Detlev Casanova Signed-off-by: Hans Verkuil drivers/media/test-drivers/vidtv/vidtv_bridge.c | 26 - drivers/media/test-drivers/visl

[git:media_stage/master] media: platform: rzg2l-cru: rzg2l-csi2: Switch to RUNTIME_PM_OPS()

2024-02-15 Thread Hans Verkuil
t Link: https://lore.kernel.org/r/20240213181233.242316-2-biju.das...@bp.renesas.com Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/platform/renesas/rzg2l-cru/rzg2l-csi2.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) --- diff --git a/drivers/media/p

[git:media_stage/master] media: platform: rzg2l-cru: rzg2l-ip: Add delay after D-PHY reset

2024-02-15 Thread Hans Verkuil
/20240213181233.242316-3-biju.das...@bp.renesas.com Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/platform/renesas/rzg2l-cru/rzg2l-ip.c | 3 +++ 1 file changed, 3 insertions(+) --- diff --git a/drivers/media/platform/renesas/rzg2l-cru/rzg2l-ip.c b/drivers/media

[git:media_stage/master] media: platform: rzg2l-cru: rzg2l-video: Fix start reception procedure

2024-02-15 Thread Hans Verkuil
/20240213181233.242316-6-biju.das...@bp.renesas.com Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../media/platform/renesas/rzg2l-cru/rzg2l-video.c | 59 ++ 1 file changed, 28 insertions(+), 31 deletions(-) --- diff --git a/drivers/media

[git:media_stage/master] media: platform: rzg2l-cru: rzg2l-video: Fix image processing initialization

2024-02-15 Thread Hans Verkuil
/r/20240213181233.242316-4-biju.das...@bp.renesas.com Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) --- diff --git a/drivers/media/platform/renesas/rzg2l-cru

[git:media_stage/master] media: platform: rzg2l-cru: rzg2l-csi2: Restructure vclk handling

2024-02-15 Thread Hans Verkuil
/20240213181233.242316-5-biju.das...@bp.renesas.com Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../media/platform/renesas/rzg2l-cru/rzg2l-cru.h | 3 --- .../media/platform/renesas/rzg2l-cru/rzg2l-csi2.c | 28 +- .../media/platform/renesas/rzg2l

[git:media_stage/master] Revert "media: ov08x40: Reduce start streaming time"

2024-02-06 Thread Hans Verkuil
c. Commit feb8831be9d468ee961289c6a275536a1ee0011c contained unintentional changes to Documentation/devicetree/bindings/media/video-interfaces.yaml and arch/arm/boot/dts/ti/omap/omap3-n9.dts. Revert the entire patch. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Ha

[git:media_stage/master] media: ov08x40: Reduce start streaming time

2024-02-06 Thread Hans Verkuil
unneeded dev_dbg().] Signed-off-by: Jason Chen Reviewed-by: Sergey Senozhatsky Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov08x40.c | 1209 ++- 1 file changed, 57 insertions(+), 1152 deletions(-) --- diff --git a/drivers

[git:media_stage/master] media: mc: Add local pad to pipeline regardless of the link state

2024-02-05 Thread Hans Verkuil
ned-off-by: Laurent Pinchart Acked-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/mc/mc-entity.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) --- diff --git a/drivers/media/mc/mc-entity.c b/drivers/media/mc/mc-entity.c index 543a392f8635..a6f28366106f 10

[git:media_stage/master] media: mc: Add num_links flag to media_pad

2024-02-05 Thread Hans Verkuil
helps checking if a pad is connected to anything, which will be used in the pipeline building code. Cc: sta...@vger.kernel.org # 6.1 Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/mc/mc-entity.c | 6 ++ include/media/media-entity.h | 2 ++ 2

[git:media_stage/master] media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access

2024-02-05 Thread Hans Verkuil
rnel.org/r/20231201150614.63300-1-ma...@denx.de Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/platform/nxp/imx

[git:media_stage/master] media: mc: Fix flags handling when creating pad links

2024-02-05 Thread Hans Verkuil
1 Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/mc/mc-entity.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/mc/mc-entity.c b/drivers/media/mc/mc-entity.c index a6f28366106f..7839e3f68efa 100644 ---

[git:media_stage/master] media: mc: Rename pad variable to clarify intent

2024-02-05 Thread Hans Verkuil
Pinchart Acked-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/mc/mc-entity.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) --- diff --git a/drivers/media/mc/mc-entity.c b/drivers/media/mc/mc-entity.c index c2d8f59b62c1..5907925ffd89 100644 --- a/drivers/media/mc/mc

[git:media_stage/master] media: nxp: imx8-isi: Mark all crossbar sink pads as MUST_CONNECT

2024-02-05 Thread Hans Verkuil
us Signed-off-by: Hans Verkuil drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) --- diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c b/drivers/media/platform/nxp/imx8-isi/imx8-isi-crossbar.c index 1b

[git:media_stage/master] media: nxp: imx8-isi: Factor out a variable

2024-02-05 Thread Hans Verkuil
hart Link: https://lore.kernel.org/r/20240128-gcc-11-warnings-v1-1-52bbdf492...@chromium.org Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/platform/nxp/imx8-isi/imx8-isi-hw.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) --- diff --git a/drivers/medi

[git:media_stage/master] media: mc: Expand MUST_CONNECT flag to always require an enabled link

2024-02-05 Thread Hans Verkuil
Signed-off-by: Hans Verkuil .../userspace-api/media/mediactl/media-types.rst | 11 ++--- drivers/media/mc/mc-entity.c | 53 ++ 2 files changed, 48 insertions(+), 16 deletions(-) --- diff --git a/Documentation/userspace-api/media/mediactl/media-types.rst

[git:media_stage/master] media: pci: cx23885: check cx23885_vdev_init() return

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: pci: cx23885: check cx23885_vdev_init() return Author: Hans Verkuil Date:Thu Oct 19 08:58:49 2023 +0200 cx23885_vdev_init() can return a NULL pointer, but that pointer is used in the

[git:media_stage/master] media: videodev2.h: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
-doc.html#nested-structs-unions Signed-off-by: Ricardo Ribalda Reviewed-by: Randy Dunlap Tested-by: Randy Dunlap Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hans Verkuil include/uapi/linux/videodev2.h | 32 1 file changed, 16 insertions(+), 16

[git:media_stage/master] media: em28xx: annotate unchecked call to media_device_register()

2024-02-05 Thread Hans Verkuil
Signed-off-by: Nikita Zhandarovich Signed-off-by: Hans Verkuil drivers/media/usb/em28xx/em28xx-cards.c | 4 1 file changed, 4 insertions(+) --- diff --git a/drivers/media/usb/em28xx/em28xx-cards.c b/drivers/media/usb/em28xx/em28xx-cards.c index 4d037c92af7c..bae76023cf71 100644 --- a/dri

[git:media_stage/master] media: adv7180: Fix cppcheck errors

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: adv7180: Fix cppcheck errors Author: Bhavin Sharma Date:Tue Jan 2 19:36:40 2024 +0530 ERROR: else should follow close brace '}' Signed-off-by: Bhavin Sharma Signed-of

[git:media_stage/master] media: cx231xx: controls are from another device, mark this

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: cx231xx: controls are from another device, mark this Author: Hans Verkuil Date:Wed Jan 17 12:44:03 2024 +0100 The last argument of v4l2_ctrl_add_handler() indicates whether the

[git:media_stage/master] media: xc4000: Fix atomicity violation in xc4000_get_frequency

2024-02-05 Thread Hans Verkuil
f-by: Gui-Dong Han <2045gem...@gmail.com> Signed-off-by: Hans Verkuil drivers/media/tuners/xc4000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/media/tuners/xc4000.c b/drivers/media/tuners/xc4000.c index 57ded9ff3f04..29bc63021c5a 100644 --- a/dri

[git:media_stage/master] media: cec.h: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Dunlap Signed-off-by: Hans Verkuil include/media/cec.h | 2 -- 1 file changed, 2 deletions(-) --- diff --git a/include/media/cec.h b/include/media/cec.h index d77982685116..10c9cf6058b7 100644 --- a/include/media/cec.h +++ b/include/media/cec.h @@ -224,8 +224,6 @@ struct cec_adap_ops

[git:media_stage/master] media: i2c: adv748: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
: Randy Dunlap Reviewed-by: Kieran Bingham Signed-off-by: Hans Verkuil drivers/media/i2c/adv748x/adv748x.h | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/media/i2c/adv748x/adv748x.h b/drivers/media/i2c/adv748x/adv748x.h index 6f90f78f58cf..d2b5e722e997 100644 --- a/drivers/media/i2c

[git:media_stage/master] media: i2c: css-quirk.h: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
iption in 'ccs_quirk' Convert into a standard doc. Signed-off-by: Ricardo Ribalda Reviewed-by: Randy Dunlap Signed-off-by: Hans Verkuil drivers/media/i2c/ccs/ccs-quirk.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) --- diff --git a/drivers/media/i2c/ccs/ccs-qui

[git:media_stage/master] media: vidioc-subdev-g-client-cap.rst: document struct v4l2_subdev_client_capability

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: vidioc-subdev-g-client-cap.rst: document struct v4l2_subdev_client_capability Author: Hans Verkuil Date:Fri Dec 15 10:38:29 2023 +0100 The struct v4l2_subdev_client_capability was

[git:media_stage/master] media: verisilicon: Fix some typos

2024-02-05 Thread Hans Verkuil
hantro_h264_dec_init(). The register name av1_ulticore_tile_col confused sometimes, although not be used corrently. The correct name should be av1_multicore_tile_col. Signed-off-by: renjun wang Signed-off-by: Hans Verkuil drivers/media/platform/verisilicon/hantro_g1_h264_dec.c| 2 +- drivers/media

[git:media_stage/master] media: videobuf2: Fix doc comment

2024-02-05 Thread Hans Verkuil
;. While at it, make the comments order follow struct members order. Fixes: 2b1413245550 ("media: vb2-core: Improve kernel-doc markups") Signed-off-by: Andrzej Pietrasiewicz Acked-by: Tomasz Figa Signed-off-by: Hans Verkuil include/media/videobuf2-core.h | 2 +- 1 file chang

[git:media_stage/master] media: cec: core: remove length check of Timer Status

2024-02-05 Thread Hans Verkuil
cases. The key words in the spec description are flexible choices. Remove the special length check of Timer Status to fit the spec which is not compulsory about that. Signed-off-by: Nini Song Signed-off-by: Hans Verkuil drivers/media/cec/core/cec-adap.c | 14 -- 1 file changed, 14

[git:media_stage/master] media: v4l2-ctrls: show all owned controls in log_status

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-ctrls: show all owned controls in log_status Author: Hans Verkuil Date:Wed Jan 17 15:52:04 2024 +0100 VIDIOC_LOG_STATUS will log the controls owned by the driver. But the code

[git:media_stage/master] media: pci: dt315.h: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/pci/dt3155/dt3155.h | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/media/pci/dt3155/dt3155.h b/drivers/media/pci/dt3155/dt3155.h index c9ce79cb5566..ce1835d9691e 100644 --- a/drivers/media/pci/dt3155/dt3155.h +++ b/drivers/media/pci/dt3155

[git:media_stage/master] media: tc358746: fix the pll calculating function

2024-02-05 Thread Hans Verkuil
/748IXBG Functional Specification Rev 1.1 document. The formula of fout is as below: fout = refclk * mul / (prediv * postdiv) Remove "p" to avoid using 2 times of prediv in pll calculating function. Signed-off-by: Duc-Long, Le Signed-off-by: Hans Verkuil drivers/media/i2c/tc35

[git:media_stage/master] media: mediatek: jpeg: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Reviewed-by: Randy Dunlap Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.h | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.h b/drivers/media/platform/mediatek/jpeg

[git:media_stage/master] media: verisilicon: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Reviewed-by: Randy Dunlap Signed-off-by: Hans Verkuil drivers/media/platform/verisilicon/hantro.h | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/media/platform/verisilicon/hantro.h b/drivers/media/platform/verisilicon/hantro.h index 6f5eb975d0e3..811260dc3c77 100644 --- a/drivers

[git:media_stage/master] media: mediatek: vcodec: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Ribalda Reviewed-by: Randy Dunlap Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec.h | 1 - drivers/media/platform/mediatek/vcodec/decoder/vdec_vpu_if.h| 1 - drivers/media/platform/mediatek/vcodec/encoder

[git:media_stage/master] media: qcom: venus: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/platform/qcom/venus/core.h | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/media/platform/qcom/venus/core.h b/drivers/media/platform/qcom/venus/core.h index 4a633261ece4..a39986ce79f1 100644 --- a/drivers/media/platform/qcom/venus/core.h +++ b

[git:media_stage/master] media: samsung: exynos4-is: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Dunlap Signed-off-by: Hans Verkuil drivers/media/platform/samsung/exynos4-is/fimc-lite.h | 3 --- 1 file changed, 3 deletions(-) --- diff --git a/drivers/media/platform/samsung/exynos4-is/fimc-lite.h b/drivers/media/platform/samsung/exynos4-is/fimc-lite.h index ddf29e0b5b1c..2d96fb00a5c6 100644

[git:media_stage/master] media: samsung: s5p-mfc: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/platform/samsung/s5p-mfc/s5p_mfc_common.h | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_common.h b/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_common.h index 0f6e260746c9..3cc2a4f5c40a 100644

[git:media_stage/master] media: v4l2-tpg: fix some memleaks in tpg_alloc

2024-02-05 Thread Hans Verkuil
, since they are allocated in for statements. Otherwise there would be memleaks because tpg_free is called only when tpg_alloc return 0. Fixes: 63881df94d3e ("[media] vivid: add the Test Pattern Generator") Signed-off-by: Zhipeng Lu Signed-off-by: Hans Verkuil drivers/media/common/v4l

[git:media_stage/master] media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity

2024-02-05 Thread Hans Verkuil
ity but isn't freed in its following error-handling paths. This patch adds such deallocation to prevent memleak of entity->name. Fixes: be2fff656322 ("media: add helpers for memory-to-memory media controller") Signed-off-by: Zhipeng Lu Signed-off-by: Hans Verkuil drivers

[git:media_stage/master] MAINTAINERS: Add entry for Samsung MFC DT Schema

2024-02-05 Thread Hans Verkuil
-off-by: Hans Verkuil MAINTAINERS | 1 + 1 file changed, 1 insertion(+) --- diff --git a/MAINTAINERS b/MAINTAINERS index 8999497011a2..1a89e0d2ac61 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2752,6 +2752,7 @@ M:Andrzej Hajda L: linux-arm-ker...@lists.infradead.org (moderated

[git:media_stage/master] media: dvb-usb: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/usb/dvb-usb/dvb-usb.h | 2 -- 1 file changed, 2 deletions(-) --- diff --git a/drivers/media/usb/dvb-usb/dvb-usb.h b/drivers/media/usb/dvb-usb/dvb-usb.h index 0990aa4a17bb..cbb0541d4dc1 100644 --- a/drivers/media/usb/dvb-usb/dvb-usb.h +++ b/drivers/media

[git:media_stage/master] media: staging: meson: Fix kerneldoc

2024-02-05 Thread Hans Verkuil
Dunlap Signed-off-by: Hans Verkuil drivers/staging/media/meson/vdec/vdec.h | 1 - 1 file changed, 1 deletion(-) --- diff --git a/drivers/staging/media/meson/vdec/vdec.h b/drivers/staging/media/meson/vdec/vdec.h index 0906b8fb5cc6..258685177700 100644 --- a/drivers/staging/media/meson/vdec

[git:media_stage/master] media: atomisp: make dbgopt static

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atomisp: make dbgopt static Author: Hans Verkuil Date:Fri Feb 2 10:21:20 2024 +0100 This fixes a sparse warning: drivers/staging/media/atomisp/pci/atomisp_drvfs.c:40:14: warning

[git:media_stage/master] media: atomisp: don't use sizeof(NULL)

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: atomisp: don't use sizeof(NULL) Author: Hans Verkuil Date:Fri Feb 2 11:17:30 2024 +0100 Check the size of another pointer instead of NULL. This fixes this smatch warning: dr

[git:media_stage/master] documentation: media: vivid: Modify typo in documentation

2024-02-05 Thread Hans Verkuil
. Signed-off-by: Dorcas Anono Litunya Signed-off-by: Hans Verkuil Documentation/admin-guide/media/vivid.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/Documentation/admin-guide/media/vivid.rst b/Documentation/admin-guide/media/vivid.rst index 58ac25b2c385

[git:media_stage/master] media: dt-bindings: techwell,tw9900: Fix port schema ref

2024-02-05 Thread Hans Verkuil
point nodes, so the $ref should be to "/properties/port" instead as it restricts extra properties. Fixes: 0f82ffa9a295 ("media: dt-bindings: media: i2c: Add bindings for TW9900") Signed-off-by: Rob Herring Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/i2c

[git:media_stage/master] media: v4l2-common.h: kerneldoc: correctly format return values

2024-02-05 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: v4l2-common.h: kerneldoc: correctly format return values Author: Hans Verkuil Date:Fri Feb 2 09:25:44 2024 +0100 Building the kerneldoc resulted in two errors: Documentation/media

[git:media_stage/master] media: cec: make cec_bus_type const

2024-02-05 Thread Hans Verkuil
cec_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman Suggested-by: Greg Kroah-Hartman Signed-off-by: Ricardo B. Marliere Reviewed-by: Greg Kroah-Hartman Reviewed-by: Laurent Pinchart Signed-off-by: Hans

[git:media_stage/master] media: media-devnode: make media_bus_type const

2024-02-05 Thread Hans Verkuil
the media_bus_type variable to be a constant structure as well, placing it into read-only memory which can not be modified at runtime. Cc: Greg Kroah-Hartman Suggested-by: Greg Kroah-Hartman Signed-off-by: Ricardo B. Marliere Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers

[git:edid-decode/master] edid-decode: let --replace-unique-ids replace dates as well

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: let --replace-unique-ids replace dates as well Author: Hans Verkuil Date:Mon Jan 29 14:09:45 2024 +0100 If --replace-unique-ids is given, then replace the 'Made in' d

[git:edid-decode/master] edid-decode: fix extract_string(): check for non-space after newline

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: fix extract_string(): check for non-space after newline Author: Hans Verkuil Date:Mon Jan 29 12:51:11 2024 +0100 The newline character is supposed to terminate the string and

[git:edid-decode/master] edid-decode: support multiple DTDs with serial numbers

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: support multiple DTDs with serial numbers Author: Hans Verkuil Date:Mon Jan 29 12:53:30 2024 +0100 Both the base block and the CTA extension blocks can contain DTDs with serial

[git:edid-decode/master] edid-decode: set has_svrs when adding native DTDs

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: set has_svrs when adding native DTDs Author: Hans Verkuil Date:Mon Jan 29 09:57:47 2024 +0100 The native DTDs are added as SVRs, but has_svrs wasn't set, so these &#x

[git:media_stage/master] media: chips-media: wave5: Remove K3 References

2024-01-29 Thread Hans Verkuil
don Brnich Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil drivers/media/platform/chips-media/wave5/wave5-vpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu.c b/drivers/media/platform/chips-media/wave5/wave5-v

[git:media_stage/master] dt-bindings: media: Remove K3 Family Prefix from Compatible

2024-01-29 Thread Hans Verkuil
don Brnich Acked-by: Krzysztof Kozlowski Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/cnm,wave521c.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/Documentation/devicetree/bindings/media/cnm,wave52

[git:media_stage/master] media: vb2: refactor setting flags and caps, fix missing cap

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: vb2: refactor setting flags and caps, fix missing cap Author: Hans Verkuil Date:Fri Jan 19 10:03:23 2024 +0100 Several functions implementing VIDIOC_REQBUFS and _CREATE_BUFS all use

[git:media_stage/master] Merge tag 'v6.8-rc2'

2024-01-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Merge tag 'v6.8-rc2' Author: Hans Verkuil Date:Mon Jan 29 08:59:23 2024 +0100 Linux 6.8-rc2 The vb2 fixes from v6.8-rc2 are needed for the work on the new vb2 delete buffe

[git:media_stage/master] media: media videobuf2: Stop direct calls to queue num_buffers field

2024-01-29 Thread Hans Verkuil
field directly. This allows us to change how the number of buffers is computed in the future. Fixes: d055a76c0065 ("media: core: Report the maximum possible number of buffers for the queue") Signed-off-by: Benjamin Gaignard Acked-by: Tomasz Figa Signed-off-by: Hans Verkuil dri

[git:media_stage/fixes] dt-bindings: media: Remove K3 Family Prefix from Compatible

2024-01-24 Thread Hans Verkuil
don Brnich Acked-by: Krzysztof Kozlowski Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil Documentation/devicetree/bindings/media/cnm,wave521c.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/Documentation/devicetree/bindings/media/cnm,wave52

[git:media_stage/fixes] media: media videobuf2: Stop direct calls to queue num_buffers field

2024-01-24 Thread Hans Verkuil
field directly. This allows us to change how the number of buffers is computed in the future. Fixes: d055a76c0065 ("media: core: Report the maximum possible number of buffers for the queue") Signed-off-by: Benjamin Gaignard Acked-by: Tomasz Figa Signed-off-by: Hans Verkuil dri

[git:media_stage/fixes] media: chips-media: wave5: Remove K3 References

2024-01-24 Thread Hans Verkuil
don Brnich Reviewed-by: Nishanth Menon Signed-off-by: Hans Verkuil drivers/media/platform/chips-media/wave5/wave5-vpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/platform/chips-media/wave5/wave5-vpu.c b/drivers/media/platform/chips-media/wave5/wave5-v

[git:media_stage/fixes] media: vb2: refactor setting flags and caps, fix missing cap

2024-01-24 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: vb2: refactor setting flags and caps, fix missing cap Author: Hans Verkuil Date:Fri Jan 19 10:03:23 2024 +0100 Several functions implementing VIDIOC_REQBUFS and _CREATE_BUFS all use

[git:media_stage/master] media: mediatek: vcodec: drop excess struct members descriptions

2024-01-24 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: media: mediatek: vcodec: drop excess struct members descriptions Author: Hans Verkuil Date:Mon Jan 22 10:26:42 2024 +0100 Drop obsolete @wait_key_frame and @mv_joint struct member

[git:v4l-utils/master] cv4l-helpers.h: add missing helper functions

2024-01-17 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: cv4l-helpers.h: add missing helper functions Author: Hans Verkuil Date:Wed Jan 17 10:32:50 2024 +0100 This header was missing

[git:v4l-utils/master] meson: Fix building with -Dv4l-utils=false

2024-01-17 Thread Hans Verkuil
referenced without being defined. Tested-by: Peter Seiderer Signed-off-by: Hans Verkuil meson.build | 2 ++ 1 file changed, 2 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=fee976dcfe3be03cc72c099f9ed3bac938a34b58 diff --git a/meson.build b/meson.build index 3529f6d2f91a

[git:v4l-utils/master] meson: Allow documentation directory to be specified with -Ddocdir

2024-01-17 Thread Hans Verkuil
This is needed by Gentoo Linux QA. Signed-off-by: James Le Cuirot Signed-off-by: Hans Verkuil doc/meson.build | 2 +- meson.build | 5 + meson_options.txt | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id

[git:v4l-utils/master] meson.build: dep_systemd was not set in one case

2024-01-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: meson.build: dep_systemd was not set in one case Author: Hans Verkuil Date:Tue Jan 16 14:26:41 2024 +0100 If the

[git:v4l-utils/master] v4l2-ctl: report max_num_buffers

2024-01-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-ctl: report max_num_buffers Author: Hans Verkuil Date:Tue Jan 16 11:34:34 2024 +0100 stream_buf_caps() didn't repor

[git:v4l-utils/master] qv4l2: support menu controls in updateCtrlRange()

2024-01-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: qv4l2: support menu controls in updateCtrlRange() Author: Hans Verkuil Date:Mon Jan 15 14:15:58 2024 +0100 When a menu (or integer

[git:edid-decode/master] edid-decode: check that there really are SVRs to resolve

2024-01-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: check that there really are SVRs to resolve Author: Hans Verkuil Date:Mon Jan 15 09:37:58 2024 +0100 Check if there are really SVRs that need resolving, and verify that the SVR

[git:edid-decode/master] edid-decode: warn that CinemaVRR is deprecated

2024-01-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: warn that CinemaVRR is deprecated Author: Hans Verkuil Date:Mon Jan 15 09:39:49 2024 +0100 Signed-off-by: Hans Verkuil parse-cta-block.cpp | 6 -- 1 file changed, 4

[git:edid-decode/master] edid-decode: keep track of the max HDMI TMDS rate

2024-01-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: keep track of the max HDMI TMDS rate Author: Hans Verkuil Date:Mon Jan 15 09:41:13 2024 +0100 Warn if timings are used that exceed this rate. Signed-off-by: Hans Verkuil

[git:v4l-utils/master] Fixed qv4l2 crash with drivers that implement VIDIOC_ENUM_FRAMESIZES for outputs

2024-01-10 Thread Hans Verkuil
+0100 When a v4l2 driver implements VIDIOC_ENUM_FRAMESIZES for an output, qv4l2 crashes on accessing the "frame size widget" that does not exist. This patch adds a proper check for the widget not being NULL. Signed-off-by: Martin Tůma Signed-off-by: Hans Verkuil utils/qv4l2/gener

[git:v4l-utils/master] v4l2-ctl/compliance: read and show the subdev client capabilities

2023-12-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-ctl/compliance: read and show the subdev client capabilities Author: Hans Verkuil Date:Fri Dec 15 10:58:23 2023 +0100 Report

[git:v4l-utils/master] *v4l-helpers: support V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH

2023-12-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: *v4l-helpers: support V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH Author: Hans Verkuil Date:Thu Dec 14 13:12:21 2023 +0100 Add

[git:v4l-utils/master] v4l2-ctl: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH

2023-12-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-ctl: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH Author: Hans Verkuil Date:Thu Dec 14 14:25:20 2023 +0100 This

[git:v4l-utils/master] v4l2-compliance: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH

2023-12-15 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-compliance: add support for V4L2_SUBDEV_CLIENT_CAP_INTERVAL_USES_WHICH Author: Hans Verkuil Date:Thu Dec 14 14:26:28 2023

[git:media_stage/master] media: i2c: mt9m114: use fsleep() in place of udelay()

2023-12-14 Thread Hans Verkuil
akari Ailus Fixes: 24d756e914fc ("media: i2c: Add driver for onsemi MT9M114 camera sensor") Signed-off-by: Arnd Bergmann Reviewed-by: Laurent Pinchart Reviewed-by: Tomi Valkeinen Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/mt9m114.c | 2 +- 1 file changed

[git:media_stage/master] media: videobuf2: core: Rename min_buffers_needed field in vb2_queue

2023-12-13 Thread Hans Verkuil
update the documentation about it. Signed-off-by: Benjamin Gaignard Signed-off-by: Hans Verkuil [hverkuil: Drop the change where min_queued_buffers + 1 buffers would be] [hverkuil: allocated. Now this patch only renames this field instead of making] [hverkuil: a functional change as well.] [hverkuil

[git:v4l-utils/master] v4l-utils: v4l-utils: sync with latest kernel headers

2023-12-13 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l-utils: v4l-utils: sync with latest kernel headers Author: Hans Verkuil Date:Wed Dec 13 16:59:44 2023 +0100 Signed-off-by: Hans

[git:media_stage/master] media: i2c: thp7312: Store frame interval in subdev state

2023-12-13 Thread Hans Verkuil
simplify the driver. Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil Signed-off-by: Hans Verkuil drivers/media/i2c/thp7312.c | 158 +++- 1 file changed, 81 insertions(+), 77 deletions(-) --- diff --git a/drivers/media/i2c/thp7312.c b/drivers

<    5   6   7   8   9   10   11   12   13   14   >