linux/drivers/media/platform
Lubomir Rintel 4ab7185ad5 media: mmp: Bring back registration of the device
commit fbb5298bf1 upstream.

In commit 4af65141e3 ("media: marvell: cafe: Register V4L2 device
earlier"), a call to v4l2_device_register() was moved away from
mccic_register() into its caller, marvell/cafe's cafe_pci_probe().
This is not the only caller though -- there's also marvell/mmp.

Add v4l2_device_register() into mmpcam_probe() to unbreak the MMP camera
driver, in a fashion analogous to what's been done to the Cafe driver.
Same for the teardown path.

Fixes: 4af65141e3 ("media: marvell: cafe: Register V4L2 device earlier")
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Cc: stable@vger.kernel.org # v6.6+
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-02-17 09:40:33 +01:00
..
allegro-dvt media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal() 2024-12-09 10:33:04 +01:00
amlogic media: ge2d: Convert to platform remove callback returning void 2023-04-11 16:59:14 +02:00
amphion media: amphion: Fix pm_runtime_set_suspended() with runtime pm enabled 2024-12-09 10:33:03 +01:00
aspeed media: aspeed: Fix memory overwrite if timing is 1600x900 2023-07-19 12:57:51 +02:00
atmel media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
cadence media: cadence: csi2rx: configure DPHY before starting source stream 2024-06-12 11:12:05 +02:00
chips-media media: coda: Remove duplicated include 2023-08-14 20:27:58 +02:00
intel media: pxa_camera: Fix an error handling path in pxa_camera_probe() 2023-10-02 10:02:53 +02:00
marvell media: mmp: Bring back registration of the device 2025-02-17 09:40:33 +01:00
mediatek media: mtk-jpeg: Fix null-ptr-deref during unload module 2024-12-09 10:33:02 +01:00
microchip media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
nvidia media: Explicitly include correct DT includes 2023-07-19 12:57:51 +02:00
nxp media: imx-jpeg: Fix potential error pointer dereference in detach_pm() 2025-02-08 09:52:38 +01:00
qcom media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled 2024-12-09 10:33:03 +01:00
renesas media: platform: rzg2l-cru: rzg2l-csi2: Add missing MODULE_DEVICE_TABLE 2024-10-04 16:29:30 +02:00
rockchip media: rkisp1: Fix IRQ handling due to shared interrupts 2024-03-26 18:19:09 -04:00
samsung media: camif-core: Add check for clk_enable() 2025-02-08 09:52:24 +01:00
st media: stm32: dcmi: only call s_stream on the source subdev 2023-08-10 07:58:36 +02:00
sunxi media: sun4i_csi: Implement link validate for sun4i_csi subdev 2024-10-10 11:57:54 +02:00
ti media: platform: ti: fix the return value handle for platform_get_irq() 2023-08-14 20:27:55 +02:00
verisilicon media: verisilicon: av1: Fix reference video buffer pointer assignment 2024-12-09 10:33:03 +01:00
via media: via: Use correct dependency for camera sensor drivers 2023-09-14 12:38:17 +02:00
xilinx media: xilinx-vipp: Look for entities also in waiting_list 2023-10-11 15:26:16 +02:00
Kconfig media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
m2m-deinterlace.c media: m2m-deinterlace: Convert to platform remove callback returning void 2023-04-11 16:59:15 +02:00
Makefile media: atmel: move microchip_csi2dc to dedicated microchip platform 2022-11-25 07:43:17 +00:00
video-mux.c media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00