mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mt76: move irq_tasklet in mt76_dev struct
irq_tasklet struct is used by most of the drivers (e.g. mt7915, mt7921, mt7615, mt7663 and mt7996) so move it in common code. Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
88d1b002d9
commit
482d2a765b
+1
-2
@@ -294,7 +294,6 @@ struct mt7915_dev {
|
||||
u32 wfdma_mask;
|
||||
|
||||
const struct mt76_bus_ops *bus_ops;
|
||||
struct tasklet_struct irq_tasklet;
|
||||
struct mt7915_phy phy;
|
||||
|
||||
/* monitor rx chain configured channel */
|
||||
@@ -567,7 +566,7 @@ static inline void mt7915_irq_enable(struct mt7915_dev *dev, u32 mask)
|
||||
else
|
||||
mt76_set_irq_mask(&dev->mt76, 0, 0, mask);
|
||||
|
||||
tasklet_schedule(&dev->irq_tasklet);
|
||||
tasklet_schedule(&dev->mt76.irq_tasklet);
|
||||
}
|
||||
|
||||
static inline void mt7915_irq_disable(struct mt7915_dev *dev, u32 mask)
|
||||
|
||||
Reference in New Issue
Block a user