diff options
| author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2022-03-18 21:01:03 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-05-13 12:02:21 +0300 |
| commit | 74ff2640152894abf4ff22041515359d165997c0 (patch) | |
| tree | 38f1554fd4b3ff57c9f42e397a03b52f46f56bcc /include/linux | |
| parent | 7101d1279917e5c7fe897c275c5a0727fe90f3e3 (diff) | |
| download | linux-74ff2640152894abf4ff22041515359d165997c0.tar.xz | |
media: vsp1: Don't open-code vb2_fop_release()
Use the vb2_fop_release() helper to replace the open-coded version. The
video->lock is assigned to the queue lock, used by vb2_fop_release(), so
the only functional difference is that v4l2_fh_release() is now called
before vsp1_device_put(). This should be harmless.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
