diff options
| author | Tommi Franttila <[email protected]> | 2015-11-12 07:01:07 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-11-17 15:04:12 -0200 |
| commit | 0d51ebd3f41f195e33ed8d9b9d67ed90f6e298ec (patch) | |
| tree | 0e3bcbaaebf99898f7c39ca005e3953b13c0451e /tools/perf/scripts/python/syscall-counts.py | |
| parent | 16dfe72fd879abc98255bbea62fae9d312ef3b5a (diff) | |
[media] v4l2-device: Don't unregister ACPI/Device Tree based devices
When a V4L2 sub-device backed by a DT or ACPI based device was removed,
the device was unregistered as well which certainly was not intentional,
as the client device would not be re-created by simply reinstating the
V4L2 sub-device (indeed the device would have to be there first!).
Skip unregistering the device in case it has non-NULL of_node or fwnode.
Signed-off-by: Tommi Franttila <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions