]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: ops: fix pointer types to be big-endian
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 6 Jan 2026 22:58:46 +0000 (22:58 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 7 Jan 2026 11:51:46 +0000 (11:51 +0000)
commit2fa0eaf78c4bb24c2b05a4db3e0d86a7dcd8fd9f
tree3dc4d34222a8e4eff82f29b09d163a01aac49a65
parentf33db67d914a80ec449579dddc41804857c9400d
ASoC: ops: fix pointer types to be big-endian

If manipulating big-endian data, make the pointers be big-endian
instead of host-endian. This should stop the following sparse
warnigns about endian-conversion:

sound/soc/soc-ops.c:547:33: warning: invalid assignment: &=
sound/soc/soc-ops.c:547:33:    left side has type unsigned short
sound/soc/soc-ops.c:547:33:    right side has type restricted __be16
sound/soc/soc-ops.c:551:33: warning: invalid assignment: &=
sound/soc/soc-ops.c:551:33:    left side has type unsigned int
sound/soc/soc-ops.c:551:33:    right side has type restricted __be32

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://patch.msgid.link/20260106225846.83580-1-ben.dooks@codethink.co.uk
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-ops.c