]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ipa: fix a build dependency
authorAlex Elder <elder@linaro.org>
Fri, 25 Feb 2022 20:15:30 +0000 (14:15 -0600)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:42:39 +0000 (14:42 +0200)
commitef1cd73e93b754aeb2ca3d15db1bb702b0372b51
tree6aa1fe01e959769f5f3c8afdf2180a00026abe8f
parenta6b6abbadfb5968707e4f046baf2d4b205f0a128
net: ipa: fix a build dependency

BugLink: https://bugs.launchpad.net/bugs/1969857
commit caef14b7530c065fb85d54492768fa48fdb5093e upstream.

An IPA build problem arose in the linux-next tree the other day.
The problem is that a recent commit adds a new dependency on some
code, and the Kconfig file for IPA doesn't reflect that dependency.
As a result, some configurations can fail to build (particularly
when COMPILE_TEST is enabled).

The recent patch adds calls to qmp_get(), qmp_put(), and qmp_send(),
and those are built based on the QCOM_AOSS_QMP config option.  If
that symbol is not defined, stubs are defined, so we just need to
ensure QCOM_AOSS_QMP is compatible with QCOM_IPA, or it's not
defined.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: 34a081761e4e3 ("net: ipa: request IPA register values be retained")
Signed-off-by: Alex Elder <elder@linaro.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/ipa/Kconfig