aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-core.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-02-17 14:12:41 +0000
committerMauro Carvalho Chehab <[email protected]>2019-02-18 17:31:58 +0000
commit959bba134238452b0a2f5c7d107d7d05b358b41f (patch)
tree798b29149d1d105d302b1ac7cf178c0e94687d4a /drivers/media/platform/vimc/vimc-core.c
parentmedia: soc_camera: Depend on BROKEN (diff)
downloadkernel-959bba134238452b0a2f5c7d107d7d05b358b41f.tar.gz
kernel-959bba134238452b0a2f5c7d107d7d05b358b41f.zip
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 <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions