]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SDCA: Tidy up initialization write parsing
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 12 Mar 2025 17:22:00 +0000 (17:22 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 16 Mar 2025 23:27:53 +0000 (23:27 +0000)
commit988adcb73669a4015974da9057d43226ddc1aa9d
tree7da14022c43d8d1aab480940906c08bf5dd6f1b3
parentd9a06936ee9e64952e161849059f6cf096b33e4a
ASoC: SDCA: Tidy up initialization write parsing

Slightly neaten up the initialization write code to overlay a struct
rather than shifting the pointer along manually. This also removes the
Sparse warning:

sound/soc/sdca/sdca_functions.c:233:36: warning: cast to restricted __le32

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250312172205.4152686-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_functions.c