Lines 2258-2263
static irqreturn_t rt61pci_interrupt_thread(int irq, void *dev_instance)
Link Here
|
2258 |
/* Enable interrupts again. */ |
2258 |
/* Enable interrupts again. */ |
2259 |
rt2x00dev->ops->lib->set_device_state(rt2x00dev, |
2259 |
rt2x00dev->ops->lib->set_device_state(rt2x00dev, |
2260 |
STATE_RADIO_IRQ_ON_ISR); |
2260 |
STATE_RADIO_IRQ_ON_ISR); |
|
|
2261 |
spin_unlock(&rt2x00dev->irqmask_lock); |
2261 |
return IRQ_HANDLED; |
2262 |
return IRQ_HANDLED; |
2262 |
} |
2263 |
} |
2263 |
|
2264 |
|
Lines 2268-2273
static irqreturn_t rt61pci_interrupt(int irq, void *dev_instance)
Link Here
|
2268 |
u32 reg_mcu; |
2269 |
u32 reg_mcu; |
2269 |
u32 reg; |
2270 |
u32 reg; |
2270 |
|
2271 |
|
|
|
2272 |
spin_lock(&rt2x00dev->irqmask_lock); |
2271 |
/* |
2273 |
/* |
2272 |
* Get the interrupt sources & saved to local variable. |
2274 |
* Get the interrupt sources & saved to local variable. |
2273 |
* Write register value back to clear pending interrupts. |
2275 |
* Write register value back to clear pending interrupts. |