linux_dsm_epyc7002/drivers/media/platform/vimc
Dafna Hirschfeld 291aca4e7b media: vimc: sen: register subdevice only after initialization
vimc_sen_add function first registers the subdevice and then
calls tpg_alloc. If tpg_alloc fails it unregisters the subdevice
and then frees vsen, this cause double free since the release
callback that follows subdevice unregistration also frees vsen.

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+samsung@kernel.org>
2019-10-24 19:00:38 -03:00
..
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
Makefile media: vimc: Collapse component structure into a single monolithic driver 2019-10-01 12:34:13 -03:00
vimc-capture.c media: vimc: Collapse component structure into a single monolithic driver 2019-10-01 12:34:13 -03:00
vimc-common.c media: vimc: Fix gpf in rmmod path when stream is active 2019-10-01 12:36:36 -03:00
vimc-common.h media: vimc: move duplicated IS_SRC and IS_SINK to common header 2019-10-01 12:38:01 -03:00
vimc-core.c media: vimc: cleanup code that assigns entity in entities array 2019-10-24 19:00:14 -03:00
vimc-debayer.c media: vimc: move duplicated IS_SRC and IS_SINK to common header 2019-10-01 12:38:01 -03:00
vimc-scaler.c media: vimc: move duplicated IS_SRC and IS_SINK to common header 2019-10-01 12:38:01 -03:00
vimc-sensor.c media: vimc: sen: register subdevice only after initialization 2019-10-24 19:00:38 -03:00
vimc-streamer.c media: vimc: Collapse component structure into a single monolithic driver 2019-10-01 12:34:13 -03:00
vimc-streamer.h media: Revert "media: vimc: propagate pixel format in the stream" 2019-08-13 11:40:38 -03:00