* [PATCH v1 1/1] media: subdev: Replace custom implementation of device_match_fwnode()
@ 2022-09-27 17:16 Andy Shevchenko
2022-11-14 9:47 ` Andy Shevchenko
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2022-09-27 17:16 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Sakari Ailus, Tomi Valkeinen, Hans Verkuil,
linux-media, linux-kernel
Cc: Andy Shevchenko
Replace custom implementation of the device_match_fwnode().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/media/v4l2-core/v4l2-subdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c
index 5c27bac772ea..c483dd5575dd 100644
--- a/drivers/media/v4l2-core/v4l2-subdev.c
+++ b/drivers/media/v4l2-core/v4l2-subdev.c
@@ -845,7 +845,7 @@ int v4l2_subdev_get_fwnode_pad_1_to_1(struct media_entity *entity,
fwnode = fwnode_graph_get_port_parent(endpoint->local_fwnode);
fwnode_handle_put(fwnode);
- if (dev_fwnode(sd->dev) == fwnode)
+ if (device_match_fwnode(sd->dev, fwnode))
return endpoint->port;
return -ENXIO;
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 1/1] media: subdev: Replace custom implementation of device_match_fwnode()
2022-09-27 17:16 [PATCH v1 1/1] media: subdev: Replace custom implementation of device_match_fwnode() Andy Shevchenko
@ 2022-11-14 9:47 ` Andy Shevchenko
0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2022-11-14 9:47 UTC (permalink / raw)
To: Mauro Carvalho Chehab, Sakari Ailus, Tomi Valkeinen, Hans Verkuil,
linux-media, linux-kernel
On Tue, Sep 27, 2022 at 08:16:18PM +0300, Andy Shevchenko wrote:
> Replace custom implementation of the device_match_fwnode().
Sakari, here you are in Cc list and I never have any response on this patch.
Maybe something wrong with emails somewhere?
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-14 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-27 17:16 [PATCH v1 1/1] media: subdev: Replace custom implementation of device_match_fwnode() Andy Shevchenko
2022-11-14 9:47 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox