]> git.baikalelectronics.ru Git - kernel.git/commit
mt76x0: move mt76x0_init_hardware in mt76x0_register_device
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Thu, 6 Sep 2018 09:18:49 +0000 (11:18 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:06 +0000 (12:31 +0200)
commitac37aff74ff64648c61c612f7ee2a0b49e479d46
tree3a584979d64eebb431da78350a528c281d8adfac
parenta8733d638593718cb193c3e33678ed6b572ba871
mt76x0: move mt76x0_init_hardware in mt76x0_register_device

Move mt76x0_init_hardware routine in mt76x0_register_device
during hw probe. This is a preliminary patch to avoid {tx/rx}
buffer allocation during resume/suspend

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/init.c
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c