From patchwork Mon Jan 11 16:33:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 10845 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 4AB45BD808 for ; Mon, 11 Jan 2021 16:34:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CE833680BA; Mon, 11 Jan 2021 17:34:08 +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="fZMVohw/"; 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 7642B6010E for ; Mon, 11 Jan 2021 17:34:07 +0100 (CET) From: Umang Jain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=uajain.com; s=mail; t=1610382846; bh=BPJWRYrE4C7foigqnSuRk/Njw4HVykKEvJp5lbKudM4=; h=From:To:Cc:Subject; b=fZMVohw/gil0dSwZ25FodNGU5MExsqxeoRpqTtlEQqGguRw7r7r40AM0q4jcEbfYJ w0N/8W9PzF6wHMXMsIcCG6E9I2A4ZMqY63KTSQUSQtGdWsHlMBEBCmZC+GneC+/xLO rPZhACTa4if50VIh0exl89GJ6Zgyb4X3lpnwDIhl/1scTbvlUsx9g6Dft0K04MU/4u xV/v741IcBaWl7qpcPBvP4djWDRE03Ey/tWiFvasjTsTsNsc3fHZZoCh9XwhOe+bHT RTW6GT6oFLh33RjJ16Tko1gEygGBPQg5Ef+eZDOJcAbdeazUGNXg29tETGPkCnyLVN k0PlwvKEY0cIw== To: libcamera-devel@lists.libcamera.org Date: Mon, 11 Jan 2021 22:03:57 +0530 Message-Id: <20210111163359.43637-1-email@uajain.com> Mime-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] ipu3: 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. 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 | 9 ++++++++- 3 files changed, 13 insertions(+), 5 deletions(-)