ssb: extend fix for PCI related silent reboots to all chipsets
PATCH 1/1 ssb: extend fix for PCI related silent reboots to all chipsets
Recent fix for BCM4704 reboots has to be extended as the same problem affects Linksys WRT350N v1 (BCM4705).
Signed-off-by Rafał Miłecki <[email protected]>
Reported-by Daniel Gimpelevich <[email protected]>
---
Kalle: it's quite trivial, you may consider taking it for 4.1.
--- drivers/ssb/driver_pcicore.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/ssb/driver_pcicore.c +4 -3
@@ -359,12 +359,13 @@ static void ssb_pcicore_init_hostmode(struct ssb_pcicore *pc)/* * Accessing PCI config without a proper delay after devices reset (not -* GPIO reset) was causing reboots on WRT300N v1.0. +* GPIO reset) was causing reboots on WRT300N v1.0 (BCM4704). * Tested delay 850 us lowered reboot chance to 50-80%, 1000 us fixed it * completely. Flushing all writes was also tested but with no luck. +* The same problem was reported for WRT350N v1 (BCM4705), so we just +* sleep here unconditionally. */ -if (pc->dev->bus->chip_id ==0x4704 ) -usleep_range (1000 ,2000 ); +usleep_range (1000 ,2000 );/* Enable PCI bridge BAR0 prefetch and burst */ val =PCI_COMMAND_MASTER |PCI_COMMAND_MEMORY ;
Signature · 1 line
1.8.4.5
Quoted 7 lines · Rafał Miłecki
Recent fix for BCM4704 reboots has to be extended as the same problem affects Linksys WRT350N v1 (BCM4705).
Signed-off-by Rafał Miłecki <[email protected]>Reported-by Daniel Gimpelevich <[email protected]>---
Kalle: it's quite trivial, you may consider taking it for 4.1.
Thanks, manually applied to wireless-drivers.git.
Signature · 1 line
Kalle Valo