mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: usb: introduce __mt76u_init utility routine
Introduce __mt76u_init unitility routine and move mt7615 usb bus ops into mt7615 module in order to allow specifying driver specific parameter. This is a preliminary patch to add usb support to mt7921 driver. Tested-by: Sean Wang <[email protected]> Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
74a519ab83
commit
2651d2c66c
+1
-1
@@ -57,7 +57,7 @@ static int mt76x2u_probe(struct usb_interface *intf,
|
||||
usb_set_intfdata(intf, dev);
|
||||
|
||||
mt76x02u_init_mcu(mdev);
|
||||
err = mt76u_init(mdev, intf, false);
|
||||
err = mt76u_init(mdev, intf);
|
||||
if (err < 0)
|
||||
goto err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user