mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt76u: add {read/write}_extended utility routines
Introduce extended utility routines to read/write data o usb bus. New devices (e.g. mt7663u) will rely on both upper and lower part of the register address. Add ext parameter to mt76u_init signature in order to reuse the code adding mt7663u support. Co-developed-by: Sean Wang <[email protected]> Signed-off-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
e2a39697fb
commit
39fb59ce92
+1
-1
@@ -54,7 +54,7 @@ static int mt76x2u_probe(struct usb_interface *intf,
|
||||
usb_set_intfdata(intf, dev);
|
||||
|
||||
mt76x02u_init_mcu(mdev);
|
||||
err = mt76u_init(mdev, intf);
|
||||
err = mt76u_init(mdev, intf, false);
|
||||
if (err < 0)
|
||||
goto err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user