diff options
| author | Niklas Söderlund <[email protected]> | 2018-04-14 07:56:58 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-04-20 09:32:43 -0400 |
| commit | a31ffe939f0d1e425ddf7b8468efa6e6b746a0be (patch) | |
| tree | 36eb7a722bd456883550bfb06c9516e6f7dbb874 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | d6ad012ebf274bef78dac09c206edc4b54998dd1 (diff) | |
media: rcar-vin: unregister video device on driver removal
If the video device was registered by the complete() callback it should
be unregistered when a device is unbound from the driver. Protect from
printing an uninitialized video device node name by adding a check in
rvin_v4l2_unregister() to identify that the video device is registered.
Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions