diff options
author | Ondrej Jirman <[email protected]> | 2021-09-08 12:56:09 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2021-09-30 10:07:59 +0200 |
commit | 8ed852834683ebe064157e069af8dfb41cad6403 (patch) | |
tree | 2eaf5aa0cba12d44e270d34b6ee606809e524738 /drivers/media/test-drivers/vimc/vimc-scaler.c | |
parent | 6d0d779b212c27293d9ccb4da092ff0ccb6efa39 (diff) |
media: sun6i-csi: Allow the video device to be open multiple times
Previously it was possible, but a recent fix for uninitialized
`ret` variable broke this behavior.
v4l2_fh_is_singular_file() check is there just to determine
whether the power needs to be enabled, and it's not a failure
if it returns false.
Fixes: ba9139116bc0 ("media: sun6i-csi: add a missing return code")
Signed-off-by: Ondrej Jirman <[email protected]>
Reviewed-by: Jernej Skrabec <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-scaler.c')
0 files changed, 0 insertions, 0 deletions