1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/fw
Matt Chen aefbe5c445 iwlwifi: mvm: fix the return type for DSM functions 1 and 2
The return type value of functions 1 and 2 were considered to be an
integer inside a buffer, but they can also be only an integer, without
the buffer.  Fix the code in iwl_acpi_get_dsm_u8() to handle it as a
single integer value, as well as packed inside a buffer.

Signed-off-by: Matt Chen <matt.chen@intel.com>
Fixes: 9db93491f2 ("iwlwifi: acpi: support device specific method (DSM)")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210122144849.5757092adcd6.Ic24524627b899c9a01af38107a62a626bdf5ae3a@changeid
2021-01-25 15:59:12 +02:00
..
api iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
acpi.c iwlwifi: mvm: fix the return type for DSM functions 1 and 2 2021-01-25 15:59:12 +02:00
acpi.h iwlwifi: mvm: fix the return type for DSM functions 1 and 2 2021-01-25 15:59:12 +02:00
dbg.c iwlwifi: fw: dbg: Fix misspelling of 'reg_data' in function header 2020-12-11 20:24:26 +02:00
dbg.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
debugfs.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
debugfs.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
error-dump.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
file.h iwlwifi: support firmware reset handshake 2020-12-10 00:16:03 +02:00
img.c iwlwifi: fw: add default value for iwl_fw_lookup_cmd_ver 2020-10-01 21:59:37 +03:00
img.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
init.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
notif-wait.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
notif-wait.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
paging.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
pnvm.c iwlwifi: pnvm: don't try to load after failures 2021-01-25 15:52:56 +02:00
pnvm.h iwlwifi: move PNVM implementation to common code 2020-10-08 20:14:58 +03:00
runtime.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
smem.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00