bcma: update to version from wireless-testing tag master-2012-07-16
[openwrt/openwrt.git] / target / linux / generic / patches-3.3 / 028-bcma-fix-regression-in-interrupt-assignment-on-mips.patch
1 --- a/drivers/bcma/driver_mips.c
2 +++ b/drivers/bcma/driver_mips.c
3 @@ -131,7 +131,7 @@ static void bcma_core_mips_set_irq(struc
4 /* backplane irq line is in use, find out who uses
5 * it and set user to irq 0
6 */
7 - list_for_each_entry_reverse(core, &bus->cores, list) {
8 + list_for_each_entry(core, &bus->cores, list) {
9 if ((1 << bcma_core_mips_irqflag(core)) ==
10 oldirqflag) {
11 bcma_core_mips_set_irq(core, 0);
12 @@ -161,7 +161,7 @@ static void bcma_core_mips_dump_irq(stru
13 {
14 struct bcma_device *core;
15
16 - list_for_each_entry_reverse(core, &bus->cores, list) {
17 + list_for_each_entry(core, &bus->cores, list) {
18 bcma_core_mips_print_irq(core, bcma_core_mips_irq(core));
19 }
20 }
21 @@ -215,7 +215,7 @@ void bcma_core_mips_init(struct bcma_drv
22 mcore->assigned_irqs = 1;
23
24 /* Assign IRQs to all cores on the bus */
25 - list_for_each_entry_reverse(core, &bus->cores, list) {
26 + list_for_each_entry(core, &bus->cores, list) {
27 int mips_irq;
28 if (core->irq)
29 continue;