Skip to content
Commit 7f560ec0 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

staging: bcm2835_codec: Correct flushing code for refcounting



Completions don't reference count, so setting the completion
on the first buffer returned and then not reinitialising it
means that the flush function doesn't behave as intended.

Signal the completion when the last buffer is returned.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 9397da24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment