Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp200244pxb; Thu, 12 Nov 2020 01:10:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJz37XD1KyMjzBd7BIjRO8raiKtRE0tiZ1IR5KUFViI8BtjUGcdOdKmE4yN8iQsxr/aLl033 X-Received: by 2002:a50:fe02:: with SMTP id f2mr3958992edt.97.1605172252595; Thu, 12 Nov 2020 01:10:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605172252; cv=none; d=google.com; s=arc-20160816; b=bKZida3cVSDHgXoQ1lzGFKsLGJKUpTQavMm3gi3wE4GaiJIZLvI9VhWm1KYb0ZaDgA /FvPs2Go8/ZVSLIbkWvv6/JSeu73uBpxVxn6KWdi+3r9wUuyNp+oNr5Ezh6qdydJPfRo jhztqOUIRVpjSKXNS6TRnl4JRP20QEZzxzM0ET4tVCQV+YqfWQ0FazQdSvcFZVlgBtk8 Pweo+ejgu8EVcecoYBougnzR+Y3D93XqYyUJAdItbt36eWwFhQhsVKPxNh+9g9siTK8W NRo4j3oGXhZPJuHuu6AMSFNkI/m3HDDTF59+pB/k2t42bJg4aG2+aVR2E24Dlhfm++mJ YIhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :date:cc:to:from:subject:message-id; bh=XQQpcuAnM1tr3Vuup92rTXydUT+qKTtnrC4N6KJ1x+4=; b=L1NHKz1ruGHT3A25HcTYqm9nWKAZMMBLRtH63IwPJBv5eAOOag/9EJX8QyzwSlpRyq 4qAQhe6Ng4vs2J5D0m4kf4aQuPjuoTqycxx6NE5HyYqYlt/vufqgKCQ0EYSz62u3KaQA lZP/Z4he/ax1v4QN3IUF9asORfQX6g8+9vgCdMCroXEXVSzruNAensLUWBiqqyALJWrI rEdpQNS0yYwiUL4fadKi6BtQ0kQSZK89j2u3NtBXqLoFeIXjhdUab7RvOnENj7j93Dts nSxGd8aVAOyzll+5BGRLTb5BA0vT6rIJV7OhG8SrXbasLCVoGP/e7f9NYx9KVepDRUeE gn1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r12si3917300edb.155.2020.11.12.01.10.29; Thu, 12 Nov 2020 01:10:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727980AbgKLJIN (ORCPT + 99 others); Thu, 12 Nov 2020 04:08:13 -0500 Received: from mx2.suse.de ([195.135.220.15]:37746 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbgKLJGZ (ORCPT ); Thu, 12 Nov 2020 04:06:25 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 96635AE78; Thu, 12 Nov 2020 09:06:23 +0000 (UTC) Message-ID: <9e3a04f0ae76675f610bf25e6b53b4aff26afae4.camel@suse.de> Subject: Re: [PATCH v3 07/11] input: raspberrypi-ts: Release firmware handle when not needed From: Nicolas Saenz Julienne To: Dmitry Torokhov Cc: u.kleine-koenig@pengutronix.de, linux-kernel@vger.kernel.org, f.fainelli@gmail.com, linux-pwm@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, wahrenst@gmx.net, linux-input@vger.kernel.org, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, p.zabel@pengutronix.de, linux-gpio@vger.kernel.org, linus.walleij@linaro.org, linux-clk@vger.kernel.org, sboyd@kernel.org, linux-rpi-kernel@lists.infradead.org, bgolaszewski@baylibre.com, andy.shevchenko@gmail.com Date: Thu, 12 Nov 2020 10:06:21 +0100 In-Reply-To: <20201112014542.GA1003057@dtor-ws> References: <20201104103938.1286-1-nsaenzjulienne@suse.de> <20201104103938.1286-8-nsaenzjulienne@suse.de> <20201112014542.GA1003057@dtor-ws> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-j2+UKM6wkcW3jVx2ysNJ" User-Agent: Evolution 3.36.5 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-j2+UKM6wkcW3jVx2ysNJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-11-11 at 17:45 -0800, Dmitry Torokhov wrote: > Hi Nicolas, >=20 > On Wed, Nov 04, 2020 at 11:39:33AM +0100, Nicolas Saenz Julienne wrote: > > Use devm_rpi_firmware_get() so as to make sure we release RPi's firmwar= e > > interface when unbinding the device. >=20 > Unless I am mistaken this driver does not really need the firmware > structure past rpi_ts_probe(), and will be fine if it disappears earlier > than unbind time. Yes, I missed that. Will update it. Regards, Nicolas --=-j2+UKM6wkcW3jVx2ysNJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEErOkkGDHCg2EbPcGjlfZmHno8x/4FAl+s+w0ACgkQlfZmHno8 x/5iuQgApaPJZjl0NVPJ80THZ1yICuyOa9+6d8Bal28kwj6Ft8Xb+Z6ploXmWJ5T EPDFQF4pFMoSBGmgGSspJj4dl/KD3UaeJIRB3c3UNqIC7icH9TpBZY4Z41Mioqsv l4QH1DIWYVsRYi/9I1vhoijsquL5t5WK0c1N9GBs6GIQjVwEMN9tsDcQ3flTLKZs 93saK4xtDp6UbqsYQYtwmupmREvAIxqnm0g3GB/Qk8Fkg9vpIK0H5cRBaJT9bfb8 tQPpTY2LWTXQ53azvlBOcZC7yJQRBKitR2GkibS1ynNoNl43f5ZjyWXkzK2TEw1j HOKtCH+6NObb7Wm+xwL50tkanpTaGg== =eql2 -----END PGP SIGNATURE----- --=-j2+UKM6wkcW3jVx2ysNJ--