Skip to content

Commit

Permalink
kernel: generic: 5.15: allow to choose QCOM_QMI_HELPERS
Browse files Browse the repository at this point in the history
QMI helpers are required by ath11k, but the symbol is not user selectable
as usually ath11k itself will just select the symbol.
This doesnt work in our case as backports cannot do the same, you can
only depend on a symbol.

So to allow building in OpenWrt, lets make the symbol selectable again
so it can be packaged as a kmod and added as a dependency to ath11k.

Disable the symbol in the generic config so that builds dont get broken
by the build system asking whether to enable the symbol on each build.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@gmail.com>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
  • Loading branch information
januszdziedzic authored and robimarko committed May 19, 2022
1 parent 90933da commit abf8bd1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions target/linux/generic/config-5.15
Original file line number Diff line number Diff line change
Expand Up @@ -4842,6 +4842,7 @@ CONFIG_PWRSEQ_SIMPLE=y
# CONFIG_QCOM_HIDMA_MGMT is not set
# CONFIG_QCOM_LMH is not set
# CONFIG_QCOM_QDF2400_ERRATUM_0065 is not set
# CONFIG_QCOM_QMI_HELPERS is not set
# CONFIG_QCOM_SPMI_ADC5 is not set
# CONFIG_QCOM_SPMI_ADC_TM5 is not set
# CONFIG_QCOM_SPMI_IADC is not set
Expand Down
11 changes: 11 additions & 0 deletions target/linux/generic/pending-5.15/930-qcom-qmi-helpers.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/drivers/soc/qcom/Kconfig
+++ b/drivers/soc/qcom/Kconfig
@@ -92,7 +92,7 @@ config QCOM_PDR_HELPERS
select QCOM_QMI_HELPERS

config QCOM_QMI_HELPERS
- tristate
+ tristate "Qualcomm QMI Helpers"
depends on NET

config QCOM_RMTFS_MEM

0 comments on commit abf8bd1

Please sign in to comment.