linux/drivers/media/platform/marvell
Lubomir Rintel fbb5298bf1 media: mmp: Bring back registration of the device
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>
2025-01-07 12:21:39 +01:00
..
cafe-driver.c media: v4l: async: Set v4l2_device and subdev in async notifier init 2023-08-10 07:58:32 +02:00
Kconfig media: v4l: marvell: select CONFIG_V4L2_ASYNC where needed 2024-02-16 11:46:33 +01:00
Makefile
mcam-core.c media: marvell: Add check for clk_enable() 2024-12-19 12:50:12 +01:00
mcam-core.h media: Convert from tasklet to BH workqueue 2024-06-21 08:57:09 +02:00
mmp-driver.c media: mmp: Bring back registration of the device 2025-01-07 12:21:39 +01:00