On Thu, Oct 20, 2022 at 09:55:20PM +0200, Hans de Goede wrote: > There is no guarantee that when we stop the pipeline all buffers owned > by the CSS are cleanly returned to the videobuf queue. > > This is a problem with videobuf2 which will complain loudly when not > all buffers have been returned after the streamoff() queue op has > returned. > > And this also allows moving a WARN() in the continuous mode path. ... > + if (ret <= 0) > + return ret ? ret : -ETIME; You can use Elvis and ETIME is not correct AFAIU, should be -ETIMEDOUT. -- With Best Regards, Andy Shevchenko