]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: mmio: add implementation of wr_rp and rd_rp
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Fri, 28 Sep 2018 11:38:50 +0000 (13:38 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 1 Oct 2018 10:34:24 +0000 (12:34 +0200)
commit13fd2d2a6d0f429a643b5899009bfc19054c428e
tree5cc082f45f3d3dd0ab7ffcf944eb624b5382cf16
parenta6daf796c04447e26d37209991d778c838f5cc9a
mt76: mmio: add implementation of wr_rp and rd_rp

Introduce mmio implementation of mt76_mmio_rd_rp and
mt76_mmio_wr_rp and remove mt76x2 duplicated code.
mt76_mmio_{wr,rd}_rp allows to reuse mt76x0 init code
adding mt76x0e support

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mmio.c
drivers/net/wireless/mediatek/mt76/mt76x2_init_common.c