media: bcm2835-unicam: Fix reference counting in unicam_open
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- 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: NDave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录