diff options
author | Tommi Franttila <tommi.franttila@intel.com> | 2015-11-12 12:01:07 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-11-17 20:04:12 +0300 |
commit | 0d51ebd3f41f195e33ed8d9b9d67ed90f6e298ec (patch) | |
tree | 0e3bcbaaebf99898f7c39ca005e3953b13c0451e /include/media/v4l2-dv-timings.h | |
parent | 16dfe72fd879abc98255bbea62fae9d312ef3b5a (diff) | |
download | linux-0d51ebd3f41f195e33ed8d9b9d67ed90f6e298ec.tar.xz |
[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 <tommi.franttila@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/v4l2-dv-timings.h')
0 files changed, 0 insertions, 0 deletions