linux/drivers/media/platform
Ricardo Ribalda 7aa9066e8d media: platform: mtk-mdp3: Use refcount_t for job_count
Use an API that resembles more the actual use of job_count.

Found by cocci:
drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c:527:5-24: WARNING: atomic_dec_and_test variation before object free at line 541.
drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c:578:6-25: WARNING: atomic_dec_and_test variation before object free at line 581.

Link: https://lore.kernel.org/linux-media/20240429-fix-cocci-v3-12-3c4865f5a4b0@chromium.org
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2024-05-03 11:11:23 +01:00
..
allegro-dvt media: allegro: Annotate struct mcu_msg_push_buffers_internal with __counted_by 2023-10-07 10:55:45 +02:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: amphion: Abort vpu parsing directly in seek 2024-02-16 11:46:32 +01:00
aspeed media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
atmel media: platform: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
broadcom media: bcm2835-unicam: Include v4l2-subdev.h 2024-05-02 11:13:01 +01:00
cadence media: cadence: csi2rx: configure DPHY before starting source stream 2024-04-22 11:41:04 +02:00
chips-media media: chips-media: wave5: Add hrtimer based polling support 2024-03-25 10:13:43 +01:00
intel media: platform: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
marvell media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed 2024-02-16 11:46:33 +01:00
mediatek media: platform: mtk-mdp3: Use refcount_t for job_count 2024-05-03 11:11:23 +01:00
microchip media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
nuvoton media: nuvoton: Convert to platform remove callback returning void 2024-02-28 16:00:32 +01:00
nvidia media: vde: Use struct_size() 2023-11-23 13:33:38 +01:00
nxp media: mipi-csis: Emit V4L2_EVENT_FRAME_SYNC events 2024-04-19 13:34:40 +03:00
qcom media: qcom: camss: vfe-17x: Rename camss-vfe-170 to camss-vfe-17x 2024-04-08 15:46:33 +02:00
renesas media: rcar-vin: Use pad variant of dv timing subdev calls 2024-04-09 08:15:04 +02:00
rockchip media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
samsung media: platform: replace of_graph_get_next_endpoint() 2024-02-23 14:33:32 +01:00
st media: stm32-dcmipp: Remove redundant printk 2024-05-03 11:07:05 +01:00
sunxi media: sunxi: a83-mips-csi2: also select GENERIC_PHY 2024-05-02 13:04:16 +01:00
ti media: ti: j721e-csi2rx: Fix races while restarting DMA 2024-04-22 11:41:04 +02:00
verisilicon media: verisilicon: Correct a typo in H1_REG_MAD_CTRL_MAD_THRESHOLD 2024-05-02 13:12:14 +01:00
via media: via: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
xilinx media: platform: xilinx: Fix Kconfig indentation 2024-01-22 17:23:59 +01:00
Kconfig media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface 2024-04-29 14:56:37 +02:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface 2024-04-29 14:56:37 +02:00
video-mux.c media: v4l2-subdev: Rename .init_cfg() operation to .init_state() 2023-12-04 10:37:47 +01:00