From patchwork Fri Aug 2 07:24:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 20746 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 85F02BDC71 for ; Fri, 2 Aug 2024 07:24:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 8CFFD6337E; Fri, 2 Aug 2024 09:24:23 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="iReEIjaA"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E20D36195E for ; Fri, 2 Aug 2024 09:24:21 +0200 (CEST) Received: from fedora.local (unknown [IPv6:2405:201:2015:f873:55d7:c02e:b2eb:ee3f]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9F9B6524; Fri, 2 Aug 2024 09:23:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1722583412; bh=r6hKKCOOk+TSk+sDjgKdFerCDgPrBAkZkH3aKS3bjdc=; h=From:To:Cc:Subject:Date:From; b=iReEIjaAvCkqbedOHbDh4he2m4xwLcH1xuStL0fOyI8aTf+c9WdAqMW0HHo7U0y3r yCqkA/wH7/+AUc5fgnOOx7IHnLrB1RUd9ExNDcJ/UFbbi7kgGYzV3uRov7X2tw78/p vz18Q9tejE9oq9OWMCKC4lFnQS5BKtW7k0HX4uGk= From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Umang Jain Subject: [PATCH 0/2] Retry ::ioctl() on EINTR Date: Fri, 2 Aug 2024 12:54:14 +0530 Message-ID: <20240802072416.25297-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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" Retry ::ioctl() calls on EINTR as given in reference xioctl() at https://docs.kernel.org/userspace-api/media/v4l/capture.c.html Umang Jain (2): libcamera: v4l2_device: Retry ::ioctl on EINTR libcamera: dma_buf_allocator: Retry ::ioctl on EINTR src/libcamera/dma_buf_allocator.cpp | 18 +++++++++++++++--- src/libcamera/v4l2_device.cpp | 8 +++++++- 2 files changed, 22 insertions(+), 4 deletions(-)