aboutsummaryrefslogtreecommitdiff
path: root/lib/once.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2018-10-10 04:01:05 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-11-06 07:11:36 -0500
commit32388d6ef7cffc7d8291b67f8dfa26acd45217fd (patch)
treeff171517d00b57f627ce46823356bf25a5cec99c /lib/once.c
parent30efae3d789cd0714ef795545a46749236e29558 (diff)
media: ipu3-cio2: Unregister device nodes first, then release resources
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>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions