brcm63xx: 3.14: fix ath9k_pci_fixup
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 28 Jul 2014 11:12:25 +0000 (11:12 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 28 Jul 2014 11:12:25 +0000 (11:12 +0000)
commit256b01eacc62d9f482cc89930aa74a956ba6f255
tree1f4a72903e45fed253dfe277018ee365682032b5
parent1b7c40d56d6d393f798545a8bb21863f5f720b25
brcm63xx: 3.14: fix ath9k_pci_fixup

Since kernel commit 928bea964827 ("PCI: Delay enabling bridges until
they're needed"), pci fixups are run with bridges (e.g. the pcie port)
disabled.

This causses hangs when ath9k_pci_fixup tries to manually enable the
device to apply the register fixups.

Fix this by enabling any parent bridges before trying to access the
device itself.

Fixes boot on DSL-274XB rev F1.

Reported-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41856 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm63xx/patches-3.14/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch
target/linux/brcm63xx/patches-3.14/420-BCM63XX-add-endian-check-for-ath9k.patch
target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch