diff options
| author | Hans Verkuil <hverkuil@xs4all.nl> | 2019-02-17 17:12:41 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-18 20:31:58 +0300 |
| commit | 959bba134238452b0a2f5c7d107d7d05b358b41f (patch) | |
| tree | 798b29149d1d105d302b1ac7cf178c0e94687d4a /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | dd1df35dd0f6172537271e533fe329a165e56265 (diff) | |
| download | linux-959bba134238452b0a2f5c7d107d7d05b358b41f.tar.xz | |
media: vivid: two unregistration fixes
When the media device registration fails, don't call media_device_unregister
since the device was never actually registered.
When removing the module also call media_device_cleanup() to avoid a memory leak.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
