diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-07-28 11:12:25 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-07-28 11:12:25 +0000 |
commit | 069c51534a3ecccbc69813eb00e2963f9a294b4e (patch) | |
tree | 1f4a72903e45fed253dfe277018ee365682032b5 /target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch | |
parent | b5a1ebe6df0b4591581aa7597c87a7277726a349 (diff) | |
download | master-187ad058-069c51534a3ecccbc69813eb00e2963f9a294b4e.tar.gz master-187ad058-069c51534a3ecccbc69813eb00e2963f9a294b4e.tar.bz2 master-187ad058-069c51534a3ecccbc69813eb00e2963f9a294b4e.zip |
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
Diffstat (limited to 'target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch b/target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch index 0d4f761308..f10e10a8d1 100644 --- a/target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch +++ b/target/linux/brcm63xx/patches-3.14/421-BCM63XX-add-led-pin-for-ath9k.patch @@ -11,7 +11,7 @@ } --- a/arch/mips/bcm63xx/pci-ath9k-fixup.c +++ b/arch/mips/bcm63xx/pci-ath9k-fixup.c -@@ -175,13 +175,14 @@ static void ath9k_pci_fixup(struct pci_d +@@ -182,13 +182,14 @@ static void ath9k_pci_fixup(struct pci_d DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATHEROS, PCI_ANY_ID, ath9k_pci_fixup); void __init pci_enable_ath9k_fixup(unsigned slot, u32 offset, |