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:
Allon Huang
2020-07-24 17:48:32 +08:00
committed by Tao Huang
parent 8a598d5911
commit f70f859332

View File

@@ -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);