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

media: rp1: cfe: Fix error paths in cfe_start_streaming



Noted that if we get "node link is not enabled", then we also
get the videobuf2 splat for the driver not cleaning up correctly
on a failed start_streaming, and indeed we weren't returning the
buffers.

Checking the other error paths, noted that the "FE enabled, but
FE_CONFIG node is not" path was not calling pm_runtime_put.

Fix both paths.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 781eba04
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