]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoc: TAS2781: replace beXX_to_cpup with get_unaligned_beXX for potentially broken...
authorShenghao Ding <shenghao-ding@ti.com>
Sun, 7 Jul 2024 08:30:07 +0000 (16:30 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 8 Jul 2024 11:50:10 +0000 (12:50 +0100)
commit1cc509edbe23b61e8c245611bd15d88edb635a38
tree9153355e7d9709b981845a5b37905f41ad03a789
parentccb367c5ab5814bb731eb517544a2ba6b7c3b689
ASoc: TAS2781: replace beXX_to_cpup with get_unaligned_beXX for potentially broken alignment

Use get_unaligned_be16 instead of be16_to_cpup and get_unaligned_be32
instead of be32_to_cpup for potentially broken alignment.

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20240707083011.98-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2781-fmwlib.c