From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
linux-media@vger.kernel.org,
'Linux Samsung SOC' <linux-samsung-soc@vger.kernel.org>
Cc: "Sakari Ailus" <sakari.ailus@iki.fi>,
"Jacopo Mondi" <jacopo@jmondi.org>,
"Kieran Bingham" <kieran.bingham@ideasonboard.com>,
"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
"Laurent Pinchart" <laurent.pinchart+renesas@ideasonboard.com>,
"Sylwester Nawrocki" <s.nawrocki@samsung.com>
Subject: Re: [PATCH] media: v4l2-async: Use endpoints in __v4l2_async_nf_add_fwnode_remote()
Date: Thu, 22 Sep 2022 16:06:58 +0200 [thread overview]
Message-ID: <083edac1-8a8f-d842-e496-b657b4e4014e@samsung.com> (raw)
In-Reply-To: <20220321145134.29820-1-laurent.pinchart@ideasonboard.com>
Hi Laurent,
On 21.03.2022 15:51, Laurent Pinchart wrote:
> From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
>
> Matching on device fwnode handles is deprecated in favour of endpoint
> fwnode handles. Switch the __v4l2_async_nf_add_fwnode_remote() function
> to use the latter. The match code handles backward compatibility by
> falling by to the device fwnode handle, so this shouldn't introduce any
> regression.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
I love the last sentence of the patch description. :)
Unfortunately, recently I found that this patch breaks Exynos4 IS (FIMC)
driver operation on Trats2 board (exynos4412-trats2.dts). After merging
this patch I see the following errors related to the camera sensors:
[ 16.038705] S5C73M3: S5C73M3 SPI probed successfully
[ 16.097399] S5C73M3: Sensor type: CML0801-M017, FW version: GDFD01
[ 16.106842] S5C73M3 0-003c: Consider updating driver S5C73M3 to match
on endpoints
[ 16.298323] S5C73M3: probe of 0-003c failed with error -22
[ 16.343173] S5K6A3 15-0010: Consider updating driver S5K6A3 to match
on endpoints
[ 16.434968] S5K6A3: probe of 15-0010 failed with error -22
I'm a bit puzzled, because I don't see anything related to endpoint
matching in the sensor drivers. Instead I only found that
v4l2_async_nf_add_fwnode_remote() function (which is modified by this
patch) is called from the
drivers/media/platform/samsung/exynos4-is/media-dev.c code. Do you have
any idea what is broken after this change? Could you help fixing this issue?
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
next prev parent reply other threads:[~2022-09-22 14:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20220922140658eucas1p29f9d609e795ed064e51694c0e7be80d3@eucas1p2.samsung.com>
2022-03-21 14:51 ` [PATCH] media: v4l2-async: Use endpoints in __v4l2_async_nf_add_fwnode_remote() Laurent Pinchart
2022-04-09 19:35 ` Kieran Bingham
2022-04-10 15:08 ` Laurent Pinchart
2022-09-22 14:06 ` Marek Szyprowski [this message]
2022-09-22 22:48 ` Sakari Ailus
2022-09-22 23:19 ` Daniel Scally
2022-09-23 9:27 ` Marek Szyprowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=083edac1-8a8f-d842-e496-b657b4e4014e@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=jacopo@jmondi.org \
--cc=kieran.bingham@ideasonboard.com \
--cc=laurent.pinchart+renesas@ideasonboard.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=niklas.soderlund@ragnatech.se \
--cc=s.nawrocki@samsung.com \
--cc=sakari.ailus@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox