Re: [PATCH] media: nxp: imx8-isi: check return value of media_pad_remote_pad_first()
From: Laurent Pinchart
Date: Wed Aug 20 2025 - 10:07:16 EST
Hi Martin,
On Thu, Feb 06, 2025 at 08:49:37AM +0000, Martin Kepplinger wrote:
> Am Mittwoch, dem 05.02.2025 um 17:29 +0000 schrieb Martin Kepplinger-
> Novaković:
> > media_pad_remote_pad_first() return NULL if "no enabled link has been
> > found".
> > Check for that.
> >
> > backstory
> > =========
> > While trying to get a (Y10 grey) sensor working on imx8mp (v6.12.12
> > now and
> > I know the hardware works on an ancient nxp-kernel),
> > I tried to enable the sensor link, set formats and stream:
>
> btw, that's roughly the
> driver: https://github.com/VC-MIPI-modules/vc_mipi_nxp/tree/master/src
> that might need additions to with recent mainline kernels. Will the
> sensor be the reason for the link not being found here?
I've submitted
https://lore.kernel.org/linux-media/20250820140021.8026-1-laurent.pinchart@xxxxxxxxxxxxxxxx,
which should fix this issue in a more generic way.
--
Regards,
Laurent Pinchart