Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp363647lqb; Thu, 29 Feb 2024 03:24:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUy9aqOKpgZhd3D3NL/Lm8+Ftel2o0ymJQD4QIxLiSsMBJXQVOJ1RXfyB79k/O9uBMEL7oJlyCbMH4li+lRwohaWjXC9EEAJa3Zk/X8WA== X-Google-Smtp-Source: AGHT+IHYKcGdLACbUisO/qpHpxoSOVMVwioqnC0ElfXfFEs9cipkU/XRr46+MDBNKlunNLQ8wvnT X-Received: by 2002:a05:6a20:9f03:b0:1a0:d956:5590 with SMTP id mk3-20020a056a209f0300b001a0d9565590mr2514468pzb.20.1709205849483; Thu, 29 Feb 2024 03:24:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709205849; cv=pass; d=google.com; s=arc-20160816; b=V6bB5EbtLWRWzBEkLn3WZgiwpl4Cpu3veYQe/XMigtF9QIDf9m+mRzgYd7q9pG9vQM bnKrqdhygwcZUKUycwlcTFT9C3r5IIqqa9t7aIebxUVDmzyjq4SYndDw/UPu882vL6Xj cPSdAa/ausUY5svd9mTudqeXfGj5LwNFxsHAOjNr81xqWBt6uojt5NQsrdhCUitAMkmS jFs/qRoVSlRNCm5wycIidtXFZ81XutpoMcjDJiv+Q6BHvyClgG3lNbsHssxAmLQuwabe lbgMRm2JH24XLpKYBmMkQuek09XVWeSKHctFpURQBGp87G6WLyg/FRSc1fEgz0Pln1Nz RDRg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=RH+aBH/pXXu05f9M4mzdSZ7M/454fi9vbzLuC8bcSEs=; fh=EUp9pFofYzRaUmft7+RWAgHz3qbCHMZNyKQL7mPumOE=; b=Tj0sQcf3pECwbexwM0kXpuMLpEVGkZjLphGpmyDpjqDPPpmfgDOZ9H3nxtPBzvJi90 lWDn5rk+9oPpOo9sHJK6IPOO+RBMJEQMLtdrzB8hlyw0hsSHjGtSbqgCPikLuooM5/DN sGEzzWjnvgfo0+Y0BOUWeefpKClr9XiOgw/ByM9PYAFQpeOtW8okN6To4onvhMqYJVEq dtKtJRp9E7XaPhqr9p0P09g06nJxpsJ6umUeXmzIZCCuvjM8P4vlDSzmQXACYg29G6dB CRKxhIRBTc22QqHZ66XIWgs50Y0PmCQnIT9sKaAGB5vjy9OLvSb/lrC+JCzEXB0s/Pum yxwQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=CabQp1nJ; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-86604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 ob7-20020a17090b390700b00298ff25a532si1320573pjb.63.2024.02.29.03.24.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 03:24:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86604-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=@bootlin.com header.s=gm1 header.b=CabQp1nJ; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-86604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.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 6D80AB24F39 for ; Thu, 29 Feb 2024 11:09:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC9927AE60; Thu, 29 Feb 2024 11:09:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="CabQp1nJ" Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (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 B386E62808; Thu, 29 Feb 2024 11:09:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709204957; cv=none; b=SRGxPYdPVlOI48yvG/qOqir2uNI5HwvFzV4Haa4r0OXDe+hNnSaP9Xvlq/wNWCc/P4yQ5AF4rHrnOaK1qqaU59rFs7w9MUuPEj8/+cVCUfW8nCRcozoNyBKqosaAtoMjL5uchC5P4jPkySMMDMp+93fscg85vyYXS7mJ0oeJmhQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709204957; c=relaxed/simple; bh=rZLStquWue5yNAK1HofFQEjYZk7A0wlwP3ZnA08cIUE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MDJKasRp8y1FKVzVMhliuE9OV/jVAeQCM82bXWroc4RUY+CpfSQRvHzdwHT73wo38s2m/rzyktAVvn2weycpwEBLgnk9vKzYCqxQ3QgZnTdSJNkm9nDDcv0RzfiNiBzV6dgWBAx5RFCG/e23h96bnCF/JP0X2kqTvOU17ouk3o4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=CabQp1nJ; arc=none smtp.client-ip=217.70.183.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 277532000A; Thu, 29 Feb 2024 11:09:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709204946; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RH+aBH/pXXu05f9M4mzdSZ7M/454fi9vbzLuC8bcSEs=; b=CabQp1nJVruJAy+rC86OljQhe9ceHgmJKPR0CvAHsHe7Kt6+7EAm6dBCfCzvJxWHjI1Ygr 7XYnCyubBTeml4mDicw6GsMowdlJvr/LeLjDnL1unbEeQti7j5ZWNrH5zQxlZkvMWLHg11 vTVZK5hTmxxbZO/67joTHG41UGu3v+LF/2voLiqYrl6ZVzYvmoUPENnMfnJOVDhW5DJ003 dp8KARtPj7zKGhjXuMrF2NzlkU6JLULIyB+QdQqSMCxrmS/D7cJ41JtZT26UHCQUDj5giw I4IeHhwih8L/+Mb/gVxImMTGACpY9OYjEAt8inPy3pvh3JjddNrd6RoxKBeoKw== Date: Thu, 29 Feb 2024 12:09:03 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Simon Horman Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Oleksij Rempel , Mark Brown , Frank Rowand , Andrew Lunn , Heiner Kallweit , Russell King , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Dent Project Subject: Re: [PATCH net-next v5 17/17] net: pse-pd: Add TI TPS23881 PSE controller driver Message-ID: <20240229120903.2589d112@kmaincent-XPS-13-7390> In-Reply-To: <20240228125344.GD292522@kernel.org> References: <20240227-feature_poe-v5-0-28f0aa48246d@bootlin.com> <20240227-feature_poe-v5-17-28f0aa48246d@bootlin.com> <20240228125344.GD292522@kernel.org> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Wed, 28 Feb 2024 12:53:44 +0000 Simon Horman wrote: > On Tue, Feb 27, 2024 at 03:42:59PM +0100, Kory Maincent wrote: > > Add a new driver for the TI TPS23881 I2C Power Sourcing Equipment > > controller. > >=20 > > This patch is sponsored by Dent Project . > >=20 > > Signed-off-by: Kory Maincent =20 >=20 > ... >=20 > > +static int tps23881_flash_fw_part(struct i2c_client *client, > > + const char *fw_name, > > + const struct tps23881_fw_conf *fw_conf) > > +{ > > + const struct firmware *fw =3D NULL; > > + int i, ret; > > + > > + ret =3D request_firmware(&fw, fw_name, &client->dev); > > + if (ret) > > + return ret; > > + > > + dev_info(&client->dev, "Flashing %s\n", fw_name); > > + > > + /* Prepare device for RAM download */ > > + while (fw_conf->reg) { > > + ret =3D i2c_smbus_write_byte_data(client, fw_conf->reg, > > + fw_conf->val); > > + if (ret < 0) =20 >=20 > Hi Kory, >=20 > Should fw be released here. Hello Simon, Indeed I have missed it, thanks.=20 --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com