e59fc3ed "staging: bcm2835_camera: Ensure all buffers are returned on
disable" was upstreamed and then backported to 4.19 as
fcbc6ddcd.
In merging that upstream update back into our tree, the merge
has failed and we have ended up with duplication of the lines.
Fix up this merge issue.
https://github.com/raspberrypi/linux/issues/3124
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
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,
atomic_inc(&port->buffers_with_vpu);
- atomic_inc(&port->buffers_with_vpu);
-
/* prep the buffer from host message */
memset(&m, 0xbc, sizeof(m)); /* just to make debug clearer */