]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: Fix implicit cast from le16
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 22 Jul 2025 11:47:05 +0000 (12:47 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 22 Jul 2025 14:34:08 +0000 (15:34 +0100)
commit246570cd351299959822ac21e75e2975f80ce4b7
treea49603e0efd9440280dc1d1fdf0b8dab56975403
parent59c5dbd585a0bee70e51fcdf36185f7602b9c285
ASoC: SDCA: Fix implicit cast from le16

As the HID wDescriptorLength is explicitly marked as little endian it
should be converted to host endian before being used.

Fixes: ac558015dfd8 ("ASoC: SDCA: add a HID device for HIDE entity")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202507221024.M18hWD6q-lkp@intel.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250722114705.2816910-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_hid.c