Skip to content

Commit

Permalink
Revert "staging: bcm2835_camera: Ensure all buffers are returned on d…
Browse files Browse the repository at this point in the history
…isable"

This reverts commit d70c57a.

The patch has mutated beyond recognition and created merge errors
against 37c35be "staging: mmal-vchiq: Add support for event callbacks."

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
  • Loading branch information
6by9 authored and popcornmix committed Dec 5, 2019
1 parent eef5091 commit 4a28f18
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c
Expand Up @@ -268,8 +268,6 @@ static void buffer_work_cb(struct work_struct *work)
if (!buffer->cmd)
atomic_dec(&msg_context->u.bulk.port->buffers_with_vpu);

atomic_dec(&msg_context->u.bulk.port->buffers_with_vpu);

msg_context->u.bulk.port->buffer_cb(msg_context->u.bulk.instance,
msg_context->u.bulk.port,
msg_context->u.bulk.status,
Expand Down

0 comments on commit 4a28f18

Please sign in to comment.