mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
NFC: mei: Do not disable MEI devices from their remove routine
Enabling and disabling device is exclusively handled by the mei_phy_ops. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
73f3adb9b9
commit
e3a6b14ced
2 changed files with 0 additions and 4 deletions
|
@ -63,8 +63,6 @@ static int microread_mei_remove(struct mei_cl_device *device)
|
||||||
|
|
||||||
microread_remove(phy->hdev);
|
microread_remove(phy->hdev);
|
||||||
|
|
||||||
nfc_mei_phy_disable(phy);
|
|
||||||
|
|
||||||
nfc_mei_phy_free(phy);
|
nfc_mei_phy_free(phy);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -63,8 +63,6 @@ static int pn544_mei_remove(struct mei_cl_device *device)
|
||||||
|
|
||||||
pn544_hci_remove(phy->hdev);
|
pn544_hci_remove(phy->hdev);
|
||||||
|
|
||||||
nfc_mei_phy_disable(phy);
|
|
||||||
|
|
||||||
nfc_mei_phy_free(phy);
|
nfc_mei_phy_free(phy);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue