Skip to content
Commit 618b1b90 authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
Browse files

staging: mmal-vchiq: Reset buffers_with_vpu on port_enable



Should we go through the timeout failure case with port_disable
not returning all buffers for whatever reason, the
buffers_with_vpu counter gets left at a non-zero value, which
will cause reference counting issues should the instance be
reused.

Reset the count when the port is enabled again, but before
any buffers have been sent to the VPU.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 10e3ca47
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment