PCI: pciehp: Acknowledge spurious "cmd completed" event
PCI: pciehp: Acknowledge spurious "cmd completed" event

In case of a spurious "cmd completed", pcie_write_cmd() does not clear it,
but yet expects more "cmd completed" events to be generated.  This does not
happen because the previous (spurious) event has not been acknowledged.
Fix that.

Signed-off-by: Rajat Jain <95bad5edde439938e03d40e1830b47de3f52a0ea@gmail.com>
Signed-off-by: Rajat Jain <2503cf5b40d531114464a2d306bd3ec112392775@juniper.net>
Signed-off-by: Guenter Roeck <a41ff256b172eeca160d5c013312e0ed724ff76e@juniper.net>
Signed-off-by: Bjorn Helgaas <f10ec01be0c6b54271af5c550cd257810bdf3268@google.com>
KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs