wlan-ap-Telecominfraproject/feeds/ipq95xx/mac80211/patches/qca/521-ath12k-change-dtsi-memory-region-name-to-ath-memory-.patch
John Crispin 144c5d00f4 ipq95xx/mac80211: update to ATH12.3-CS
Signed-off-by: John Crispin <john@phrozen.org>
2024-02-28 18:56:21 +01:00

24 lines
920 B
Diff

From f5abbdf598a433866e24f9ed925f1c5d27808b2c Mon Sep 17 00:00:00 2001
From: P Praneesh <quic_ppranees@quicinc.com>
Date: Mon, 3 Jan 2022 14:53:18 +0530
Subject: [PATCH 13/14] ath12k: change dtsi memory region name to
ath-memory-region
Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
---
drivers/net/wireless/ath/ath12k/pci.c | 2 +-
drivers/net/wireless/ath/ath12k/qmi.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/net/wireless/ath/ath12k/pci.c
+++ b/drivers/net/wireless/ath/ath12k/pci.c
@@ -1246,7 +1246,7 @@ static int ath12k_pci_probe(struct pci_d
* from DT. If memory is reserved from DT for FW, ath11k driver need not
* allocate memory.
*/
- if (of_property_read_u32(ab->dev->of_node, "memory-region", &addr))
+ if (!of_property_read_u32(ab->dev->of_node, "memory-region", &addr))
ab->bus_params.fixed_mem_region = true;
ret = ath12k_pci_claim(ab_pci, pdev);