Skip to content
Commit 37e96776 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

media: bcm2835-unicam: Do not stop streaming in unicam_release



unicam_release calls _vb2_fop_release, which will call stop_streaming
if that particular node was streaming. Calling it unconditionally (as
the code was) means that if a second handle was opened eg to alter
a setting, on closing that connection it also stopped Unicam.

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