summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mediatek/mt76/mt7996/mmio.c
diff options
context:
space:
mode:
authorPeter Chiu <chui-hao.chiu@mediatek.com>2025-01-09 19:04:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 10:01:23 +0100
commit07cf0fa74a1ecca4effc912e363845ef021f4ca0 (patch)
tree3e5ec3675dd06ce11ae8ecd7e99c2f69e2889183 /drivers/net/wireless/mediatek/mt76/mt7996/mmio.c
parenta3c5720d022c460165baf192b3d6303ad4c4f413 (diff)
downloadlinux-07cf0fa74a1ecca4effc912e363845ef021f4ca0.tar.gz
linux-07cf0fa74a1ecca4effc912e363845ef021f4ca0.tar.bz2
linux-07cf0fa74a1ecca4effc912e363845ef021f4ca0.zip
wifi: mt76: mt7915: fix register mapping
[ Upstream commit dd1649ef966bb87053c17385ea2cfd1758f5385b ] Bypass the entry when ofs is equal to dev->reg.map[i].size. Without this patch, it would get incorrect register mapping when the CR address is located at the boundary of an entry. Fixes: cd4c314a65d3 ("mt76: mt7915: refine register definition") Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com> Signed-off-by: Shengyu Qu <wiagn233@outlook.com> Link: https://patch.msgid.link/OSZPR01MB843401EAA1DA6BD7AEF356F298132@OSZPR01MB8434.jpnprd01.prod.outlook.com Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7996/mmio.c')
0 files changed, 0 insertions, 0 deletions