提交 b8bd1ee0 编写于 作者: N Naushir Patuck 提交者: Zheng Zengkai

media: bcm2835-unicam: Clear clock state when stopping streaming

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

Commit 65e08c465020d4c5b51afb452efc2246d80fd66f failed to clear the
clock state when the device stopped streaming. Fix this, as it might
again cause the same problems when doing an unprepare.
Signed-off-by: NNaushir Patuck <naush@raspberrypi.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 9d8fe609
......@@ -1769,6 +1769,7 @@ static void unicam_stop_streaming(struct vb2_queue *vq)
clk_disable_unprepare(dev->vpu_clock);
clk_disable_unprepare(dev->clock);
dev->clocks_enabled = false;
}
unicam_runtime_put(dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册