RE: [PATCH] media: intel-ipu3: cio2: Synchronize irqs at stop_streaming

2018-02-08 Thread Zhi, Yong
; Xu ; Mani, Rajmohan > > Subject: Re: [PATCH] media: intel-ipu3: cio2: Synchronize irqs at > stop_streaming > > Hi Yong, > > On Wed, Feb 07, 2018 at 02:47:50PM -0800, Yong Zhi wrote: > > This is to avoid pending interrupts to be handled during stream off, > > in which c

Re: [PATCH] media: intel-ipu3: cio2: Synchronize irqs at stop_streaming

2018-02-07 Thread Sakari Ailus
Hi Yong, On Wed, Feb 07, 2018 at 02:47:50PM -0800, Yong Zhi wrote: > This is to avoid pending interrupts to be handled during > stream off, in which case, the ready buffer will be removed > from buffer list, thus not all buffers can be returned to VB2 > as expected. Disable CIO2 irq at cio2_hw_exi

[PATCH] media: intel-ipu3: cio2: Synchronize irqs at stop_streaming

2018-02-07 Thread Yong Zhi
This is to avoid pending interrupts to be handled during stream off, in which case, the ready buffer will be removed from buffer list, thus not all buffers can be returned to VB2 as expected. Disable CIO2 irq at cio2_hw_exit() so no new interrupts are generated. Signed-off-by: Yong Zhi Signed-off