commit | 3d3248dbd018502f654064c78efcd2e165ab3486 | [log] [tgz] |
---|---|---|
author | Kishon Vijay Abraham I <kishon@ti.com> | Mon Feb 24 15:23:35 2020 +0530 |
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | Mon Feb 24 10:07:52 2020 +0000 |
tree | 12af4c31ba120e244005a9c7940a31dbe17e9b45 | |
parent | 5779dd0a7dbd71e82478fb0bf125cc6cd3c43266 [diff] |
PCI: endpoint: Replace spinlock with mutex The pci_epc_ops is not intended to be invoked from interrupt context. Hence replace spin_lock_irqsave and spin_unlock_irqrestore with mutex_lock and mutex_unlock respectively. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>