[alsa-devel] [uclinux-dist-devel] [PATCH 1/4] Blackfin: Use 8bit spi transfers for the ad1836

Mike Frysinger vapier at gentoo.org
Fri May 6 00:56:38 CEST 2011

On Thu, May 5, 2011 at 13:52, Lars-Peter Clausen wrote:
> Currently there is a special case for the ad1836 in the ASoC generic spi write
> functions, which swaps the upper and the lower byte for 4/12 transfers.
> This was done, because the 4/12 spi write function was added for the ad1836
> for which all of the users are configured to use use 16-bit transfers.
> In order to be able to get rid of this special casing switch all users of
> ad1836 to 8-bit transfers.

16bit spi transfers are inherently less overhead than 8bit transfers.
so if the codec supports it, we should use it rather than drop 16bit
support everywhere because 8bit is simpler.  am i missing something
obvious ?

More information about the Alsa-devel mailing list