diff options
author | Mario Limonciello | 2023-03-29 14:57:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-05-11 23:02:58 +0900 |
commit | f66cd999591705dee7ad98bec50985c953f75588 (patch) | |
tree | 4333582ae663f37cb58b71f1a3a57a26e4f0cb85 /include/sound | |
parent | 24d158856cef9a482f381bd11439d83ff9bca2e1 (diff) |
wifi: mt76: mt7921e: Set memory space enable in PCI_COMMAND if unset
commit 09d4d6da1b65d09414e7bce61459593f3c80ead1 upstream.
When the BIOS has been configured for Fast Boot, systems with mt7921e
have non-functional wifi. Turning on Fast boot caused both bus master
enable and memory space enable bits in PCI_COMMAND not to get configured.
The mt7921 driver already sets bus master enable, but explicitly check
and set memory access enable as well to fix this problem.
Tested-by: Anson Tsao <anson.tsao@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions