diff options
author | Ian Jamison <ian.dev@arkver.com> | 2017-12-01 13:53:50 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-08 10:38:44 -0500 |
commit | 678856299c0db53c47bfcbedda7921d878a78be5 (patch) | |
tree | 3dd2ce7c8931b69f606041cabaaedc39a47ea9f4 /drivers/media/platform/vimc/vimc-sensor.c | |
parent | 8fc58186bb41ff8789ad9e993c03a23d67698709 (diff) | |
download | linux-678856299c0db53c47bfcbedda7921d878a78be5.tar.gz linux-678856299c0db53c47bfcbedda7921d878a78be5.tar.bz2 linux-678856299c0db53c47bfcbedda7921d878a78be5.zip |
media: imx: Remove incorrect check for queue state in start/stop_streaming
It is possible to call STREAMON without the minimum number of
buffers queued. In this case the vb2_queue state will be set to
streaming but the start_streaming vb2_op will not be called.
Later when enough buffers are queued, start_streaming will
be called but vb2_is_streaming will already return true.
Also removed the queue state check in stop_streaming since it's
not valid there either.
Signed-off-by: Ian Jamison <ian.dev@arkver.com>
Reviewed-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions