staging/bcm2835-codec: Return buffers to QUEUED not ERROR state
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 5 Aug 2021 15:46:42 +0000 (16:46 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 14 Sep 2021 16:03:59 +0000 (17:03 +0100)
commit5d9368e4ae8bd8ecfba051710ae8e30c3a3398ef
tree8c539f34c0558c291880d420a7fb7816c95ac6e8
parentfd1b59610698b429a05340c7bbb1b281b2da8e55
staging/bcm2835-codec: Return buffers to QUEUED not ERROR state

Should start_streaming fail, or buffers be queued during
stop_streaming, they should be returned to the core as QUEUED
and not (as currently) as ERROR.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c