]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: xilinx-nwl: Clean up clock on probe failure/removal
authorSean Anderson <sean.anderson@linux.dev>
Fri, 31 May 2024 16:13:35 +0000 (12:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:30 +0000 (16:29 +0200)
commit4f201a94ac52a1ed9cd04dc0c0f73ef3e9ab53a5
tree908c760d1d43ccae831b574204f9fbac943c8891
parentf1058b0780b4e2790b0a84f17c8f117288bd3ade
PCI: xilinx-nwl: Clean up clock on probe failure/removal

[ Upstream commit cfd67903977b13f63340a4eb5a1cc890994f2c62 ]

Make sure we turn off the clock on probe failure and device removal.

Fixes: de0a01f52966 ("PCI: xilinx-nwl: Enable the clock through CCF")
Link: https://lore.kernel.org/r/20240531161337.864994-6-sean.anderson@linux.dev
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/pcie-xilinx-nwl.c