From: Clemens Ladisch Date: Sun, 8 Jan 2012 21:18:00 +0000 (+0100) Subject: ALSA: dice: document quadlet alignment X-Git-Tag: v3.13-rc1~2^2~120^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61b8cf0222b256b4f793d99c8bdc9b216d067a76;p=profile%2Fcommon%2Fkernel-common.git 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: Clemens Ladisch --- diff --git a/sound/firewire/dice-interface.h b/sound/firewire/dice-interface.h index af916b9..27b044f 100644 --- a/sound/firewire/dice-interface.h +++ b/sound/firewire/dice-interface.h @@ -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