aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/vimc/vimc-common.c
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>2020-01-13 19:59:33 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-02-24 16:16:20 +0100
commitceeb2e6166dddf3c9757abbbf84032027e2fa2d2 (patch)
tree1a422c08a75e7f244c34acbd608459b5ee18ae4e /drivers/media/platform/vimc/vimc-common.c
parent23c72dd9ffd22d8a17ec1b432eafa4caf3d8ccb6 (diff)
media: vimc: streamer: fix memory leak in vimc subdevs if kthread_run fails
In case kthread_run fails, the vimc subdevices should be notified that streaming stopped so they can release the memory for the streaming. Also, kthread should be set to NULL. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Acked-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.c')
0 files changed, 0 insertions, 0 deletions