diff options
| author | Laurent Pinchart <[email protected]> | 2024-04-24 23:57:38 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-06-26 14:39:34 +0000 |
| commit | b3f73b21887ecda4c03a61085c7290ce585016d0 (patch) | |
| tree | 1ec9c4b1a3a498c5abe6cb11603a301ba4294dfb /drivers/media/test-drivers/vimc/vimc-scaler.c | |
| parent | media: vimc: Centralize subdev internal_ops initialization (diff) | |
| download | kernel-b3f73b21887ecda4c03a61085c7290ce585016d0.tar.gz kernel-b3f73b21887ecda4c03a61085c7290ce585016d0.zip | |
media: vimc: Initialize subdev active state
Finalize subdev initialization for all subdevs that provide a
.init_state() operation. This creates an active state for all those
subdevs, which subsequent patches will use to simplify the
implementation of individual vimc entities.
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-scaler.c')
| -rw-r--r-- | drivers/media/test-drivers/vimc/vimc-scaler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/test-drivers/vimc/vimc-scaler.c b/drivers/media/test-drivers/vimc/vimc-scaler.c index 4f9c44a663e1..f8639f5b4d0c 100644 --- a/drivers/media/test-drivers/vimc/vimc-scaler.c +++ b/drivers/media/test-drivers/vimc/vimc-scaler.c @@ -398,6 +398,7 @@ static void vimc_scaler_release(struct vimc_ent_device *ved) struct vimc_scaler_device *vscaler = container_of(ved, struct vimc_scaler_device, ved); + v4l2_subdev_cleanup(&vscaler->sd); media_entity_cleanup(vscaler->ved.ent); kfree(vscaler); } |
