aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorTommi Franttila <tommi.franttila@intel.com>2015-11-12 07:01:07 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-11-17 15:04:12 -0200
commit0d51ebd3f41f195e33ed8d9b9d67ed90f6e298ec (patch)
tree0e3bcbaaebf99898f7c39ca005e3953b13c0451e /drivers/media/platform
parent16dfe72fd879abc98255bbea62fae9d312ef3b5a (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 <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 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions

Privacy Policy