kernel-module-qualcomm: fix sdio unload error
https://onedigi.atlassian.net/browse/DEL-7986 Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
4b8eec17c2
commit
4c2a524d6e
|
|
@ -27,6 +27,7 @@ SRC_URI = " \
|
||||||
file://0001-qca-wifi-host-cmn-fix-buid-issue-for-Rome-SDIO-inter.patch;patchdir=${WORKDIR}/qca-wifi-host-cmn; \
|
file://0001-qca-wifi-host-cmn-fix-buid-issue-for-Rome-SDIO-inter.patch;patchdir=${WORKDIR}/qca-wifi-host-cmn; \
|
||||||
file://0002-qca-wifi-host-cmn-fix-build-issue-enabling-debug-for.patch;patchdir=${WORKDIR}/qca-wifi-host-cmn; \
|
file://0002-qca-wifi-host-cmn-fix-build-issue-enabling-debug-for.patch;patchdir=${WORKDIR}/qca-wifi-host-cmn; \
|
||||||
file://0003-qca-wifi-host-cmn-fix-panic_notifier_list-undeclared.patch;patchdir=${WORKDIR}/qca-wifi-host-cmn; \
|
file://0003-qca-wifi-host-cmn-fix-panic_notifier_list-undeclared.patch;patchdir=${WORKDIR}/qca-wifi-host-cmn; \
|
||||||
|
file://0004-qca-wifi-host-cmn-fix-sdio-error-on-unload-driver.patch;patchdir=${WORKDIR}/qca-wifi-host-cmn; \
|
||||||
"
|
"
|
||||||
|
|
||||||
# Tag 'CHSS.LNX_FSL.5.0-01200-QCA6574AUARMSDIOHZ' in all repos
|
# Tag 'CHSS.LNX_FSL.5.0-01200-QCA6574AUARMSDIOHZ' in all repos
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
From: Isaac Hermida <isaac.hermida@digi.com>
|
||||||
|
Date: Mon, 18 Jul 2022 09:41:51 +0200
|
||||||
|
Subject: [PATCH] sdio: fix sdio error on unload driver
|
||||||
|
|
||||||
|
macro TARGET_DUMP_FOR_NON_QC_PLATFORM does not exist, and that code does not
|
||||||
|
apply for our platform, so remove that to avoid unload driver error.
|
||||||
|
|
||||||
|
https://onedigi.atlassian.net/browse/DEL-7986
|
||||||
|
|
||||||
|
Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
|
||||||
|
---
|
||||||
|
hif/src/sdio/native_sdio/src/hif.c | 4 ----
|
||||||
|
1 file changed, 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/hif/src/sdio/native_sdio/src/hif.c b/hif/src/sdio/native_sdio/src/hif.c
|
||||||
|
index d52eee248a3e..d4804070f500 100644
|
||||||
|
--- a/hif/src/sdio/native_sdio/src/hif.c
|
||||||
|
+++ b/hif/src/sdio/native_sdio/src/hif.c
|
||||||
|
@@ -893,10 +893,6 @@ static A_STATUS hif_sdio_remove(void *context, void *hif_handle)
|
||||||
|
|
||||||
|
athdiag_procfs_remove();
|
||||||
|
|
||||||
|
-#ifndef TARGET_DUMP_FOR_NON_QC_PLATFORM
|
||||||
|
- iounmap(scn->ramdump_base);
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
HIF_EXIT();
|
||||||
|
|
||||||
|
return 0;
|
||||||
Loading…
Reference in New Issue