]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: codecs: wm0010: Replace cpu_to_be64 + le64_to_cpu with swab64
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 9 Dec 2025 15:18:50 +0000 (16:18 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 14 Dec 2025 10:37:35 +0000 (19:37 +0900)
commita49e098be20063c91b673a674b8f0f92135448da
tree440fcae0b86d8cd8f0e4eeb2d0d4eebd233fe865
parentdfbbd3c04f0f782e83f8677749e2f02359ffd1b5
ASoC: codecs: wm0010: Replace cpu_to_be64 + le64_to_cpu with swab64

Replace cpu_to_be64(le64_to_cpu()) with swab64() to simplify
byte_swap_64().  No functional changes.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20251209151853.432518-1-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm0010.c