Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1365720lqp; Mon, 15 Apr 2024 04:36:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmMCL7F+JlRjmNzirKjNmVxegOusPI6qDoT3yLrefLWM3TPVHun4B1kfJ+cEv8nKYKWgDYgg2kcGYXUrkyPC4O3FvUBhlofgWwfenDEA== X-Google-Smtp-Source: AGHT+IEdgQWc5l4/fp1cVbSsdo2EJ4SFX6MdBXIIV86xzihHgNzVsYEs463GudSU3dJvYoBJwGjI X-Received: by 2002:a17:90a:fe87:b0:29e:d30:5b2c with SMTP id co7-20020a17090afe8700b0029e0d305b2cmr10061959pjb.18.1713180964577; Mon, 15 Apr 2024 04:36:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713180964; cv=pass; d=google.com; s=arc-20160816; b=dUa75WfrZKCUHTTIGj6ZYwkHMufmR11xE6AK6P0VJPQUERSIJRJEG0dP1T0huyB847 OKr4T2IkHZSamRL+OiGG3zumPKt9eSsXRNOOc9b7fDbxrdKFPHYsPDwyYd3zvr5H87Zp g+q+pqLiXDw01BRL0uizDmFsed9lhO7rEXVcVO8bjmXRa/L+JydSubSaDMVgtvzANVhR DV1jonUnKWZrw/ZCtbuOYbMX5hg+fZwRTkPBzNDHhrETJCjl5r8dw/py/b7ltWujkV5B CF1t83ZdfLXRZIl9JBXU2IiGXv+BPzstGjw+gr625MiGzhoEQVg3aZS8F7b4LNvLCv+g U0kA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CT/JZNeM1IvPHY3p0bjed+sSZzdiA6sgy8ofQzF6Xlo=; fh=/HFIhCiwabEMiOv3RaV0hSHHdRkTm2KDXIMXxxesB9k=; b=iwOVe6uki8mdnhNEVvHB2lPbXEz1+DotGP68x1fZlUApZqjWq8lABBRXeVLqjUwEXr +mvQh3YbSc9wgi5OMEDSqyWev+mwI6aC5rFuDTC7CCSbmWmW1lzTpQ/mYCcxsJjN2ldj M/qDgQcZpaF/+3EVRRY8DUVdbw0yC1qbts6OdCpWNGmvoahrr5Y5LG+ffeRut1LBhWwb njO9Ftk+DLyv04NjECRB6k42y24vdVeylPDGZY2mZss/mTJ9dkTvJAdd2dt8s/QGiU/T psj+xUT83Wny7Lzo/pWjYaCbeYm0Id/4YdHoXrKaUSoRwOAouiUR+iJSx8ZANW9aQ5o/ gkxw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IYJgU3uZ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-144672-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a7-20020a17090a740700b0029bb52196e3si7711675pjg.48.2024.04.15.04.36.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 04:36:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144672-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IYJgU3uZ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-144672-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144672-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4C623B24E20 for ; Mon, 15 Apr 2024 07:29:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62DAB249F5; Mon, 15 Apr 2024 07:29:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IYJgU3uZ" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70776225DA; Mon, 15 Apr 2024 07:29:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713166187; cv=none; b=UyOt48iATpAo9aime8EwgLKHC+//mE2g83HCiAPgoU1uv9KQ1XlpWqo97QWhxU5pxTrvzMaVMvQ7hBMfsEuLL7IvTXuloszWhVd9lqUS/JmXsElLc09b/EU/l4bK67+xstc9YFheF/mEA6XqbFAwC3QLghAHyZ39h7Ly7xk1g8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713166187; c=relaxed/simple; bh=pNT+Wb97jz0djjk250DiFv0ubERcVS2s71OhTbkpiK0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EauGUsJN0QOSmWq69GnzwSkDQIflhrlgWFFeXly7Zc2qgS3urOxPvd+ajltx33jFYLSUd6WuMODv7KqN1RpoZODrTtD2PgtnyMhqeF1DdQVd5ivsPaMPwRVL/4ax0qTcChUQTVmX8anYQCi8X8ZIjQGjGCFinzV+AFRecWmoRFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IYJgU3uZ; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713166187; x=1744702187; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pNT+Wb97jz0djjk250DiFv0ubERcVS2s71OhTbkpiK0=; b=IYJgU3uZ3Cud/6uY1EEoPEGqehNrF6z13xV+gZpOvWgj8rWHiECny7+/ ft19pCrnQOaJmbE8oy4gEvi2vlD68U2OKm3rRkqlvWFnJVtRhdLk5OcNM xOetbuDziDQBowyBvowaYmPiGUDkdRqrwHC/uO7TJ3vcUu09XVQa7N1hM 0GnJTKabiOuzeza+FX67kgMq5GdW/AQx+Egh6I+xdGlUzJXdn1S4Csy2K rTblYlJ6+HR0kt8mAuD6Xe3yxaAp/wlqr1eieBmzKkLi2frSAyTpZ1pQ+ kQtDz9t2wWi89u4ZwVpBCEx4SVUcp+45M/xixaPBlMAfYmyPHIh1OMTTy A==; X-CSE-ConnectionGUID: yLmgyO5ISsGgyz6NcDLjiQ== X-CSE-MsgGUID: uOy8ixJvTbuOYgG2Y2R99g== X-IronPort-AV: E=McAfee;i="6600,9927,11044"; a="19687963" X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="19687963" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 00:29:46 -0700 X-CSE-ConnectionGUID: 8vrFKyI5Qg6H6yjpzR9dig== X-CSE-MsgGUID: A4aD3a0QSHSmY85TlJuscw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,202,1708416000"; d="scan'208";a="21824858" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 00:29:43 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with SMTP id 17A4B11F8AF; Mon, 15 Apr 2024 10:29:41 +0300 (EEST) Date: Mon, 15 Apr 2024 07:29:41 +0000 From: Sakari Ailus To: Laurent Pinchart Cc: linux-media@vger.kernel.org, tomi.valkeinen@ideasonboard.com, Hans de Goede , Mauro Carvalho Chehab , Hans Verkuil , Umang Jain , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] media: v4l: Don't turn on privacy LED if streamon fails Message-ID: References: <20240410114712.661186-1-sakari.ailus@linux.intel.com> <20240412174621.GA5444@pendragon.ideasonboard.com> <20240415071812.GA25078@pendragon.ideasonboard.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240415071812.GA25078@pendragon.ideasonboard.com> On Mon, Apr 15, 2024 at 10:18:12AM +0300, Laurent Pinchart wrote: > > Maybe because a large majority is GPIO-controlled? > > GPIOs can fail, in particular when they're on I2C GPIO expanders. Sure, but gpiod_set_value() return type is also void. It just works... right? -- Sakari Ailus