Skip to contentSkip to conversation

ASoC: rt5575: Use __le32 for SPI burst write address

PATCH In review Oder Chiou 2 participants 2 messages Jun 23 – Jun 24

Subsystems (3)
lore
Share & tools
lore

Oder Chiou

author maintainer
#0 lore raw

PATCH 1/1 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.

Fixes 420739112e95 ("ASoC: rt5575: Add the codec driver for the ALC5575")

Closes:
https://lore.kernel.org/oe-kbuild-all/[email protected]/

---
 sound/soc/codecs/rt5575-spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt5575-spi.c +1 -1
index 9a349965435b..d5b3a57c8866 100644
@@ -17,7 +17,7 @@
 
 struct rt5575_spi_burst_write {
 	u8 cmd;
-	u32 addr;
+	__le32 addr;
 	u8 data[RT5575_SPI_BUF_LEN];
 	u8 dummy;
 } __packed;
Signature · 1 line
2.54.0
maintainer
#1 lore raw
Quoted 1 line · Oder Chiou

ASoC: rt5575: Use __le32 for SPI burst write address

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.2

Thanks!

[1/1] ASoC: rt5575: Use __le32 for SPI burst write address

      https://git.kernel.org/broonie/sound/c/d0c415f0076b

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark