Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61b8cf02 authored by Clemens Ladisch's avatar Clemens Ladisch
Browse files

ALSA: dice: document quadlet alignment



Doing accesses without quadlet alignment is a bad idea because the
firmware's byte-swapping would garble the data; clarify this in the
documentation.

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent c614475b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -7,9 +7,9 @@

/*
 * Generally, all registers can be read like memory, i.e., with quadlet read or
 * block read transactions with any alignment or length.  Writes are not
 * allowed except where noted; quadlet-sized registers must be written with
 * a quadlet write transaction.
 * block read transactions with at least quadlet-aligned offset and length.
 * Writes are not allowed except where noted; quadlet-sized registers must be
 * written with a quadlet write transaction.
 *
 * All values are in big endian.  The DICE firmware runs on a little-endian CPU
 * and just byte-swaps _all_ quadlets on the bus, so values without endianness