]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: RC32434: fix broken PCI resource initialization
authorGabor Juhos <juhosg@openwrt.org>
Thu, 15 May 2014 08:35:44 +0000 (10:35 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 May 2014 07:02:06 +0000 (09:02 +0200)
commitc0b81d80450d626c8d0904b3b840002c73c6c204
treeb7d8df383cb56652fbb403b401deea36174d3d3c
parentc348eea48022563a7aecfa0ae3fdc10c77a9649d
MIPS: RC32434: fix broken PCI resource initialization

The parent field of the 'rc32434_res_pci_mem1' resource points to
the resource itself which is obviously wrong. Due to the broken
initialitazion, the PCI devices on the Mikrotik RB532 boards are
not working since commit 0df020bf (MIPS: avoid possible resource
conflict in register_pci_controller).

Remove the field initialization to fix the issue.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Reported-by: Waldemar Brodkorb <wbx@openadk.org>
Cc: linux-mips@linux-mips.org
Cc: Gabor Juhos <juhosg@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/6940/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/pci-rc32434.c