]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: rt5575: Use __le32 for SPI burst write address
authorOder Chiou <oder_chiou@realtek.com>
Tue, 23 Jun 2026 10:25:14 +0000 (18:25 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jun 2026 14:03:56 +0000 (15:03 +0100)
commitd0c415f0076b71b956f62ff6f31de885f0fa2489
treeb3510b49bdaf795e2909cfc05996b41dc007bcf7
parente26bb459d0f3dad83c6a31d5e4480e60760c262b
ASoC: rt5575: Use __le32 for SPI burst write address

The addr field in the SPI burst write buffer represents on-wire
little-endian data. Define it as __le32 so that the assignment of
cpu_to_le32() is type correct and avoids sparse endian warnings.

Closes:
https://lore.kernel.org/oe-kbuild-all/202606230139.rFZUVpCa-lkp@intel.com/

Fixes: 420739112e95 ("ASoC: rt5575: Add the codec driver for the ALC5575")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Oder Chiou <oder_chiou@realtek.com>
Link: https://patch.msgid.link/20260623102514.2422990-1-oder_chiou@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5575-spi.c