Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cbfdd54 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ep_pcie: Unregister to bus driver in error path"

parents 1fa09bbc 7a85b5fa
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -993,6 +993,11 @@ static void ep_pcie_release_resources(struct ep_pcie_dev_t *dev)
	dev->phy = NULL;
	dev->mmio = NULL;
	dev->msi = NULL;

	if (dev->bus_client) {
		msm_bus_scale_unregister_client(dev->bus_client);
		dev->bus_client = 0;
	}
}

static void ep_pcie_enumeration_complete(struct ep_pcie_dev_t *dev)