]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: audioreach: convert to cpu endainess type before accessing
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Mon, 25 Aug 2025 10:12:47 +0000 (11:12 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 1 Sep 2025 17:55:17 +0000 (18:55 +0100)
commit8f57dcf39fd0864f5f3e6701fe885e55f45d0d3a
tree37991364876cab240ff5afcb063dd41911a44e10
parent7e67e1c99efa6ecd003d51a42dbe7bd5bad329eb
ASoC: qcom: audioreach: convert to cpu endainess type before accessing

Looks like some of the members of module config are accessed directly
without converting their endainess to cpu type.

Fix this by using le32_to_cpu() where required.

Fixes: da9881d00153 ("ASoC: qcom: audioreach: add support for SMECNS module")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508230830.Rkp7HHbG-lkp@intel.com
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20250825101247.152619-4-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/audioreach.c