diff options
author | Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> | 2021-04-14 06:12:34 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-04-16 10:15:40 +0300 |
commit | 791a7be27e76edfe8269e9fce2598cc58defa405 (patch) | |
tree | 07dd1ce60df093b053543349e6f719f7acb43557 /arch/mips/pci/pci-rt3883.c | |
parent | 8e98b697006d749d745d3b174168a877bb96c500 (diff) | |
download | linux-791a7be27e76edfe8269e9fce2598cc58defa405.tar.xz |
MIPS: pci-rt2880: remove unneeded locks
Mirror pci-rt3883 fix from commit e5067c718b3a ("MIPS: pci-rt3883:
Remove odd locking in PCI config space access code"). pci-rt2880 shares
the driver layout with pci-rt3883 and the same reasons apply.
Caller (generic PCI code) already does proper locking, so no need to add
another one here. Local PCI read/write functions are never called
simultaneously, also they do not require synchronization with the PCI
controller ops, since they are used before the controller registration.
Suggested-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/pci/pci-rt3883.c')
0 files changed, 0 insertions, 0 deletions