diff options
| author | Daniel Scally <[email protected]> | 2021-01-07 14:28:26 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-01-26 19:21:34 +0100 |
| commit | 5273382d03763277aaf8c6a2d6088e2afaee0cf0 (patch) | |
| tree | 4215f43bb6fe0154f665400907d2ad6270f7600d /tools/perf/scripts/python/netdev-times.py | |
| parent | ec9ded4fa864b1eeafb496902b014f5d5dd52994 (diff) | |
media: device property: Return true in fwnode_device_is_available for NULL ops
Some types of fwnode_handle do not implement the device_is_available()
check, such as those created by software_nodes. There isn't really a
meaningful way to check for the availability of a device that doesn't
actually exist, so if the check isn't implemented just assume that the
"device" is present.
Suggested-by: Laurent Pinchart <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Daniel Scally <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions