diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-06 13:08:42 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-11 17:21:33 +0300 |
commit | 6ccfe1e3971283fb5da0fef8c202f9998a5540fb (patch) | |
tree | 5780081a555d1ed487db7e010bb1595c40c303d3 /drivers/media/i2c | |
parent | a1766a4fd83befa0b34d932d532e7ebb7fab1fa7 (diff) | |
download | linux-6ccfe1e3971283fb5da0fef8c202f9998a5540fb.tar.xz |
staging: media: atomisp: drop check for reentrant .s_stream()
The subdev .s_stream() operation shall not be called to start streaming
on an already started subdev, or stop streaming on a stopped subdev.
Remove the check that guards against that condition.
Also fixes a smatch warning:
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c:446 gc0310_s_stream() warn: missing error code 'ret'
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
CC: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/media/i2c')
0 files changed, 0 insertions, 0 deletions