From patchwork Tue Jan 12 04:51:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 10848 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 03B2BBD80C for ; Tue, 12 Jan 2021 04:51:48 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5EDD0680C4; Tue, 12 Jan 2021 05:51:47 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=uajain.com header.i=@uajain.com header.b="SGOwYcv8"; dkim-atps=neutral Received: from mail.uajain.com (static.126.159.217.95.clients.your-server.de [95.217.159.126]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 01DF660523 for ; Tue, 12 Jan 2021 05:51:45 +0100 (CET) From: Umang Jain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uajain.com; s=mail; t=1610427105; bh=mCyod203TytZWwel5UmZ5JnOo6idcr1j1gBrksLcoD4=; h=From:To:Cc:Subject; b=SGOwYcv8/iNYRH/ul+6KIwzD3u7oELIr/fWTw79csqMoU3I4qt2FAY6F3HArM/Qu4 WdyYEhU9avLSgMMIqOHvuRrLj6aHOjRU62QB9P2J9msYxEn5pCseiv5mC1+tPfiCs4 y8CAKDyRttoEtXXMNY0ER4/5J2FbSxIlbXwqIlV4nXswgTgaxMrVGto0G5qrjj+A0g m/HJqBRaeOYi9JvWHp2pNyj9oTYptziDhx+hNjXCy5PhkN/fFHxUAQJh1gOywDLInm e2zbLrUPkXvBgK9XY1/GdgDJ9T0gI9c5y9EKug07+JPT4zgVGhV6jM/srs4v1zHT+B hJ+DI/Lo+30uw== To: libcamera-devel@lists.libcamera.org Date: Tue, 12 Jan 2021 10:21:38 +0530 Message-Id: <20210112045140.10979-1-email@uajain.com> Mime-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] Simplify error paths X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" This patch series aims to ensure ImgU and CIO2 are stopped before freeing any buffers. Associated work went into finding a simplified error patch possible, which roped an a earlier patch by Kieran of Tracking Streaming state. Changes in v2: - Update documentation Kieran Bingham (1): libcamera: v4l2_videodevice: Track streaming state Umang Jain (1): libcamera: pipelines: ipu3: Simplify error bail out path on start() include/libcamera/internal/v4l2_videodevice.h | 2 ++ src/libcamera/pipeline/ipu3/ipu3.cpp | 7 +++---- src/libcamera/v4l2_videodevice.cpp | 12 +++++++++++- 3 files changed, 16 insertions(+), 5 deletions(-)