mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
media: rockchip: cif: disable all subdev when stream off for hdr mode
Signed-off-by: Allon Huang <allon.huang@rock-chips.com> Change-Id: I5539a5f5e4f716d45fc287e5e6378bc34ac7147f
This commit is contained in:
@@ -249,7 +249,7 @@ static int rkcif_pipeline_set_stream(struct rkcif_pipeline *p, bool on)
|
||||
}
|
||||
}
|
||||
|
||||
if (on && can_be_set) {
|
||||
if ((on && can_be_set) || !on) {
|
||||
/* phy -> sensor */
|
||||
for (i = 0; i < p->num_subdevs; i++) {
|
||||
ret = v4l2_subdev_call(p->subdevs[i], video, s_stream, on);
|
||||
|
||||
Reference in New Issue
Block a user