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

Commit 51983ea0 authored by Yue Ma's avatar Yue Ma Committed by Gerrit - the friendly Code Review server
Browse files

cnss2: Fix typo for cnss_bus_call_driver_remove



cnss_pci_call_driver_remove should be called for PCIe bus inside
cnss_bus_call_driver_remove.

Change-Id: Ia0043ca094d7f7d56a7c6142dfecc09d812024e8
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 97e676e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -218,7 +218,7 @@ int cnss_bus_call_driver_remove(struct cnss_plat_data *plat_priv)

	switch (plat_priv->bus_type) {
	case CNSS_BUS_PCI:
		return cnss_bus_call_driver_remove(plat_priv->bus_priv);
		return cnss_pci_call_driver_remove(plat_priv->bus_priv);
	default:
		cnss_pr_err("Unsupported bus type: %d\n",
			    plat_priv->bus_type);