diff options
author | Sakari Ailus <[email protected]> | 2018-10-10 04:01:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2018-11-06 07:11:36 -0500 |
commit | 32388d6ef7cffc7d8291b67f8dfa26acd45217fd (patch) | |
tree | ff171517d00b57f627ce46823356bf25a5cec99c /net/switchdev/switchdev.c | |
parent | 30efae3d789cd0714ef795545a46749236e29558 (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 <[email protected]>
Tested-by: Bingbu Cao <[email protected]>
Reviewed-by: Bingbu Cao <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions