From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E6BA25A2C7 for ; Wed, 20 Aug 2025 14:01:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755698520; cv=none; b=l3m5FW1gKGDvcBuBMC8DIlrJHfN4QEgFB5EMPm3JrF7rpe7tlfJfLkUk2Fu+BysUMgbVKs2mksD91Vhhqw451weAVBe6wn/JsE8XpPtfYV/TJIpWkk8nMso56l4qiOl7Vkj5JYWOZ+nbIxA0xlSjZ00PcLvFhAYUvKBjx0uh1MU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755698520; c=relaxed/simple; bh=Z176GSQLSegavImp3En2033NP/ktqan4wx0wmAMGZXk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p+gyZ4BC7nzVAUlznmkOykoRNRU8rM3rptusn74UGQWWxLsdWNoqOIaRxGuWyOO4NV9yUcQhPKYg/BAP+aRlBROmB0tFhBPLUD4UwUu8B4agov//Niixv4axxZNwfXcZKmIbvU2w8dVh+OlylIKsMqz+Mfv2AAkyLxHjjiAb6QI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=clcud02i; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="clcud02i" Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id 1D7016AF; Wed, 20 Aug 2025 16:00:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1755698459; bh=Z176GSQLSegavImp3En2033NP/ktqan4wx0wmAMGZXk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=clcud02inuNkyRl4ngZzWp5wKICyIAFK6bn5DZCZxqzkyQRTM/i6Lshq9oICXC8xF I01mZ5IQpT7NVy4HJuy8eeAICMdXUey/XXnXONZ+ARfSpnctHclxYeddS4OA02+3NL UzN0JESW/9NEQTxUqClkUklyGcuMZns50ga3NGxo= Date: Wed, 20 Aug 2025 17:01:35 +0300 From: Laurent Pinchart To: Martin Kepplinger Cc: mchehab@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-media@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: nxp: imx8-isi: check return value of media_pad_remote_pad_first() Message-ID: <20250820140135.GA6190@pendragon.ideasonboard.com> References: <20250205172957.182362-1-martink@posteo.de> <1f4b4e707762c0926c0acece18cb9cc3ecc242bc.camel@posteo.de> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1f4b4e707762c0926c0acece18cb9cc3ecc242bc.camel@posteo.de> 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@ideasonboard.com, which should fix this issue in a more generic way. -- Regards, Laurent Pinchart