Skip to content
Commit 3681c556 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

media: bcm2835-unicam: Fix reference counting in unicam_open



The reference counting of node->open was only incremented after
a check that the node was v4l2_fh_is_singular_file, which resulted
in the counting going wrong and s_power not being called at an
appropriate time.

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