mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt7663s: enable runtime-pm
Allow the user to enable runtime-pm for mt7663s driver Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
529d55a790
commit
ef44ff116e
+1
-1
@@ -75,7 +75,7 @@ mt7615_pm_set(void *data, u64 val)
|
||||
if (!mt7615_wait_for_mcu_init(dev))
|
||||
return 0;
|
||||
|
||||
if (!mt7615_firmware_offload(dev) || !mt76_is_mmio(&dev->mt76))
|
||||
if (!mt7615_firmware_offload(dev) || mt76_is_usb(&dev->mt76))
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
if (val == pm->enable)
|
||||
|
||||
Reference in New Issue
Block a user