diff options
| author | Niklas Söderlund <[email protected]> | 2017-10-02 16:16:52 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-10-31 12:12:00 -0400 |
| commit | 633d185b7239a4b342bab4cc15a414f7d74635ad (patch) | |
| tree | 05df1ea57532935b46be9d90414e6d87c667b101 /tools/perf/scripts/python | |
| parent | 99b7a995a4a02522292ea6313bd626a33fb0e037 (diff) | |
media: v4l: async: fix unbind error in v4l2_async_notifier_unregister()
The call to v4l2_async_cleanup() will set sd->asd to NULL so passing it to
notifier->unbind() has no effect and leaves the notifier confused. Call
the unbind() callback prior to cleaning up the subdevice to avoid this.
Signed-off-by: Niklas Söderlund <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions