drivers: staging: bcm2835-isp: Do not cleanup mmal vcsm buffer on stop_streaming
authorNaushir Patuck <naush@raspberrypi.com>
Thu, 3 Mar 2022 16:45:53 +0000 (16:45 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:19 +0000 (11:33 +0000)
commita4eb55eb2fcfbbceb3ec1cf672df5302f091c927
tree91e24b203486d741a960cadd4519f80582e348f5
parent57db55469ba41bae138bbf5c0ac4e35b798487d1
drivers: staging: bcm2835-isp: Do not cleanup mmal vcsm buffer on stop_streaming

On stop_streaming() the vcsm buffer handle gets released by the buffer cleanup
code.  This will subsequently cause and error if userland re-queues the same
buffer on the next start_streaming() call.

Remove this cleanup code and rely on the vb2_ops->buf_cleanup() call to do the
cleanups instead.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c