mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
media: subdev: Replace custom implementation of device_match_fwnode()
Replace custom implementation of the device_match_fwnode(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
b9fbe29c59
commit
026df23098
1 changed files with 1 additions and 1 deletions
|
@ -860,7 +860,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;
|
||||
|
|
Loading…
Add table
Reference in a new issue