]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: pci-rt3883: Remove odd locking in PCI config space access code
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Sat, 30 Aug 2014 02:06:27 +0000 (06:06 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:44:50 +0000 (07:44 +0100)
commitaa24a6f81c125ad111fc5f25259dad28399abd5f
treea8a1dc4e780cb39c660f82c52253ace8f56df241
parent93439c047bb856a7c513e24a4a8c11d8d66b7f83
MIPS: pci-rt3883: Remove odd locking in PCI config space access code

Caller (generic PCI code) already do 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.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Cc: Gabor Juhos <juhosg@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/7603/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-rt3883.c