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

Commit 886c61c2 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 7e9c35ab dec5feab
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -969,6 +969,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) {
		dev->bus_client = 0;
		msm_bus_scale_unregister_client(dev->bus_client);
	}
}

int ep_pcie_core_enable_endpoint(enum ep_pcie_options opt)