diff options
| author | Dafna Hirschfeld <[email protected]> | 2019-10-07 13:50:02 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-10-24 22:01:03 +0000 |
| commit | 9fb82aaa85d3d4b7be80a15dd0e740aab45bc491 (patch) | |
| tree | c1572229de772a9ce6c7908a81f823b458eced8f /drivers/media/platform/vimc/vimc-common.c | |
| parent | media: vimc: sen: register subdevice only after initialization (diff) | |
| download | kernel-9fb82aaa85d3d4b7be80a15dd0e740aab45bc491.tar.gz kernel-9fb82aaa85d3d4b7be80a15dd0e740aab45bc491.zip | |
media: vimc: move media_entity_cleanup to release callbacks
according to the docs, this function must be called during
the cleanup phase after unregistering the entity.
Signed-off-by: Dafna Hirschfeld <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.c')
| -rw-r--r-- | drivers/media/platform/vimc/vimc-common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/platform/vimc/vimc-common.c b/drivers/media/platform/vimc/vimc-common.c index a3120f4f7a90..999bc353fb10 100644 --- a/drivers/media/platform/vimc/vimc-common.c +++ b/drivers/media/platform/vimc/vimc-common.c @@ -423,7 +423,6 @@ EXPORT_SYMBOL_GPL(vimc_ent_sd_register); void vimc_ent_sd_unregister(struct vimc_ent_device *ved, struct v4l2_subdev *sd) { - media_entity_cleanup(ved->ent); v4l2_device_unregister_subdev(sd); } EXPORT_SYMBOL_GPL(vimc_ent_sd_unregister); |
