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

Skip to content
Commit 3970bfc4 authored by Krupali Dhanvijay's avatar Krupali Dhanvijay Committed by Gerrit - the friendly Code Review server
Browse files

cnss2: Unregister host driver during PCI remove



CNSS2 registers as both platform and PCI driver. PCI
device can be removed via sysfs exposed by kernel during
PCI device creation. When PCI device gets removed, CNSS
PCI remove ops gets called. In cnss_pci_remove, unregister
host driver and shutdown WLAN chip to cleanly remove PCI
device.

Change-Id: Ia60e8b69bda2b3bdd5990cb83f47c082d6667283
CRs-Fixed: 3308910
Signed-off-by: default avatarKrupali Dhanvijay <quic_kdhanvij@quicinc.com>
parent 58b7ae37
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment