On 5/30/2018 9:08 PM, okaya@codeaurora.org wrote:
I have seen that shutdown() is also called from remove().
remove() is supposed to do a safe cleanup too. If it is leaving the hw in inconsistent state even though it is c lling shutdown , it is yet another bug.
Let's try to be constructive. I'll post a patch with the pci_disable added to shutdown only as in my original proposal.
Somebody can deal with remove another day.