Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1271307lqp; Mon, 15 Apr 2024 00:40:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXTcQDY6lAiCtD9l4OVZoeeTr0rAyJkfpzkGZ7YNPtA+awwjdHj97JQdBi6xTqxFu/HvQLxDJaYZJVkfWkla/+BKQokmlcxjgj+85NSaA== X-Google-Smtp-Source: AGHT+IFF7T9D8ZLbcv/GkkHTVpTjhSLII/qNvRV4lhlYfUWVnFkfUfiLEnOKvu/sUA135Kskhr9o X-Received: by 2002:a05:622a:138b:b0:434:5e79:a16e with SMTP id o11-20020a05622a138b00b004345e79a16emr11247933qtk.35.1713166830429; Mon, 15 Apr 2024 00:40:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713166830; cv=pass; d=google.com; s=arc-20160816; b=NyCAnkh1blYySShaiIM4cTrAHUCifnSIJZ9La+JGh2FI40oPOLEsDYWp+drSnKxHUN FZ07UznsnOcEttKgvg9xCztAxNeR9krsWEGZyX5KXJQ+6L0aX5PeEDRVRImd8+QBVtTO dqnyVh6R9rogUmQUtOJJwGAByq3KTIgYjNz27l5Eo0MBbIOg8p16SfVKzzM796HhsFlx MIwPDtKcJRKwmzQ+sY21m7NAdNp/6bWpYzO+mwOJ9bgJ+HY016kmjo1OwdqdacuW+DoL Zxq9y/ZLkwpNpwC2zJ7EebfIhZYZkhtm2rIUKXN8W0d2Ro8RHQjOamY9M+3r3CUZYF97 jIFA== 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=wuquLUSLcT9S8XmP12kL5NZYLMSCLzo8VaFDhPxaZ4A=; fh=MjtdR5ZM51PywmjDM3JDNqGHDTXUTkNuptb8U3Hy+TQ=; b=ZdYhosmzelDF0wzYauvLgYE5x2t1hu2A7AlDsLORudJ82UthRVLgJAVbSWlYKMnhE2 32tCvmoZvBybSDOccWzobyXokOIVJWSc9MDNBP4/+KXmMtjE2MLcnv/4Umwpvxehl/E9 rBh9/d7lFQ9SZj4cNgH+9635eeFZ0h2f4HZ7Uo+8+rwV6PKfHOJ57bPrHHo/lJxvvOSs cOLuVSRKtj2tcQdUz4IDVCBcu9ZEDuFX/hRM5E6+P43mIfzPWuVWeD9u2qbxYRm/Aa6S VHTnfcLiplGfFh4mxmq0zwB6YRsji+HG6HPNFi+ZzfAvYSaKELd9prU0C4joCCDRXPmB kb/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KpfzGIGS; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-144687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144687-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d19-20020a05622a05d300b0043282c25b88si9570374qtb.391.2024.04.15.00.40.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 00:40:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-144687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KpfzGIGS; arc=pass (i=1 spf=pass spfdomain=ideasonboard.com dkim=pass dkdomain=ideasonboard.com); spf=pass (google.com: domain of linux-kernel+bounces-144687-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-144687-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 20DF51C20FF1 for ; Mon, 15 Apr 2024 07:40:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3300B28DDA; Mon, 15 Apr 2024 07:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="KpfzGIGS" Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (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 EEDF524A06; Mon, 15 Apr 2024 07:40:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713166820; cv=none; b=KTADe0tK7Lm0nLgBC/QHKWTqn19ud+btyAZQKGT3gsihntM1D2xwVEWfwn1awc81NpOc3zFrDBKpP0WlbvjJ44I5JizLsA4sDOP1ONr0oPwc3JBPTQJqcdIO+8xpYHcCoIvNHMlRCcZ2lTf5MdxPUZkdYra//4Xtl/ugrCPe5OI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713166820; c=relaxed/simple; bh=PlR27jb6Mjd4OFt0+j9zaTy8C+fkjO+qwksXbuA01ak=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ErWsgOMARL+Ez781T/JN998N/sWWhGVe8+AyR85hmUpLrmdN8KaHLRJVSsr0Qfqn2GMR2oUPKSLW6EkV/QFrFdTPpdEqvwGIFzpKTnYFO96PCHoqvoRrLCmO9UJ+3PHm1J539qjirh9wSOAByt7JjVQQvR2q06UOXX70hqNfD7I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=KpfzGIGS; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Received: from pendragon.ideasonboard.com (117.145-247-81.adsl-dyn.isp.belgacom.be [81.247.145.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6BFF05B2; Mon, 15 Apr 2024 09:39:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1713166771; bh=PlR27jb6Mjd4OFt0+j9zaTy8C+fkjO+qwksXbuA01ak=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KpfzGIGSZO4W8WuLKAgTSmR7t+++/vMbKSS3wMYRFHfdzaP0i4WCBYbBp1se/JmqM Dst4oDmK5huyBoU57DBwWjaYZcEs2g32tqH3+jW/gARBHIVgAFh3WPd0GCosr8NU/I W0QryhhQQmxJ1XPlWGITSqU5tHlPdUZZ1V5nCw6E= Date: Mon, 15 Apr 2024 10:40:08 +0300 From: Laurent Pinchart To: Sakari Ailus 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: <20240415074008.GB25078@pendragon.ideasonboard.com> 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=utf-8 Content-Disposition: inline In-Reply-To: On Mon, Apr 15, 2024 at 07:29:41AM +0000, Sakari Ailus wrote: > 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. I know, so there's nothing we can do short term. > It just works... right? Until it doesn't :-) -- Regards, Laurent Pinchart