[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166317043943.2639676.3222680734266270030.b4-ty@kernel.org>
Date: Wed, 14 Sep 2022 17:47:31 +0200
From: Lorenzo Pieralisi <lpieralisi@...nel.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Marc Zyngier <maz@...nel.org>,
Alyssa Rosenzweig <alyssa@...enzweig.io>
Cc: Lorenzo Pieralisi <lpieralisi@...nel.org>,
Hector Martin <marcan@...can.st>,
Rob Herring <robh@...nel.org>,
Krzysztof WilczyĆski <kw@...ux.com>,
Bjorn Helgaas <bhelgaas@...gle.com>, linux-pci@...r.kernel.org,
Sven Peter <sven@...npeter.dev>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] PCI: apple: do not leak reset GPIO on unbind/unload/error
On Mon, 5 Sep 2022 19:15:23 -0700, Dmitry Torokhov wrote:
> The driver allocates reset GPIO in apple_pcie_setup_port() but neither
> releases the resource, nor uses devm API to have it released
> automatically.
>
> Let's fix this by switching to devm API. While at it let's use generic
> devm_fwnode_gpiod_get() instead of OF-specific gpiod_get_from_of_node()
> - this will allow us top stop exporting the latter down the road.
>
> [...]
Applied to pci/apple, thanks!
[1/1] PCI: apple: do not leak reset GPIO on unbind/unload/error
https://git.kernel.org/lpieralisi/pci/c/a6b9ede1f3df
Thanks,
Lorenzo
Powered by blists - more mailing lists