On Fri, May 22, 2020 at 09:55:20AM +0200, Dafna Hirschfeld wrote: > In function rkisp1_vb2_start_streaming, the call to > media_pipeline_start should be the first thing in order > to validate the links and prevents their state from being modified > before power up and streaming. > > Adjust stop streaming to the same logic, call media_pipeline_stop > after we disable streaming on the entities in the topology. > > Signed-off-by: Helen Koike <helen.koike@xxxxxxxxxxxxx> > Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@xxxxxxxxxxxxx> > --- > drivers/staging/media/rkisp1/rkisp1-capture.c | 21 ++++++++++--------- > 1 file changed, 11 insertions(+), 10 deletions(-) > Reviewed-by: Tomasz Figa <tfiga@xxxxxxxxxxxx> Best regards, Tomasz