mbox series

[0/2] mt76: mt7615: make drv_own/fw_own non-pci specific

Message ID cover.1595259089.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series mt76: mt7615: make drv_own/fw_own non-pci specific | expand

Message

Lorenzo Bianconi July 20, 2020, 3:41 p.m. UTC
Introduce set_drv_ctrl and set_fw_ctrl function pointers in
mt7615_mcu_ops data structure in order to be used even by non-pci chipsets.
This is a preliminary patch to enable runtime-pm for mt7663s chipset.

Lorenzo Bianconi (2):
  mt76: mt7615: move drv_own/fw_own in mt7615_mcu_ops
  mt76: mt7663s: move drv_own/fw_own in mt7615_mcu_ops

 .../net/wireless/mediatek/mt76/mt7615/mac.c   |   4 +-
 .../net/wireless/mediatek/mt76/mt7615/mcu.c   | 158 +++++++++---------
 .../wireless/mediatek/mt76/mt7615/mt7615.h    |   8 +-
 .../net/wireless/mediatek/mt76/mt7615/pci.c   |   4 +-
 .../net/wireless/mediatek/mt76/mt7615/sdio.c  |   4 +-
 .../wireless/mediatek/mt76/mt7615/sdio_mcu.c  |  16 +-
 6 files changed, 104 insertions(+), 90 deletions(-)