linux-uconsole/drivers/media/pci/intel
Sakari Ailus f84263bfd8 media: ipu3-cio2: Unregister device nodes first, then release resources
[ Upstream commit 32388d6ef7 ]

While there are issues related to object lifetime management, unregister
the media device first, followed immediately by other device nodes when
the driver is being unbound. Only then the resources needed by the driver
may be released. This is slightly safer.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Bingbu Cao <bingbu.cao@intel.com>
Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-13 09:16:09 +01:00
..
ipu3 media: ipu3-cio2: Unregister device nodes first, then release resources 2018-12-13 09:16:09 +01:00
Makefile