]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ipa: fix two minor ipa_cmd problems
authorAlex Elder <elder@linaro.org>
Fri, 19 Apr 2024 15:17:59 +0000 (10:17 -0500)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 23 Apr 2024 11:08:08 +0000 (13:08 +0200)
commit319b6d4ef08714ed593a5eb842deb249544c19e1
tree094bf269d7f7c05ace2c3e83ee1b86ba1da418ce
parentf2e4e9ea82f92e58ffe4aab0077445dc27a79194
net: ipa: fix two minor ipa_cmd problems

In "ipa_cmd.h", ipa_cmd_data_valid() is declared, but that function
does not exist.  So delete that declaration.

Also, for some reason ipa_cmd_init() never gets called.  It isn't
really critical--it just validates that some memory offsets and a
size can be represented in some register fields, and they won't fail
with current data.  Regardless, call the function in ipa_probe().

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ipa/ipa_cmd.h
drivers/net/ipa/ipa_main.c