From: Peter Ujfalusi Date: Wed, 28 Jul 2010 12:26:55 +0000 (+0300) Subject: ASoC: tlv320dac33: Add support for automatic FIFO configuration X-Git-Tag: v2.6.36-rc1~493^2~1^2~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a577b318fc7cb0c46f9f0cdefb5b267490ff8ce5;p=pandora-kernel.git ASoC: tlv320dac33: Add support for automatic FIFO configuration Platform parameter to enable automatic FIFO configuration when the codec is in Mode1 or Mode7 FIFO mode. When this mode is selected, the controls for changing nSample (in Mode1), and UTHR (in Mode7) are not added. The driver configures the FIFO configuration based on the stream's period size in a way, that every burst will read period size of data from the host. In Mode7 we need to use a formula, which gives close enough aproximation for the burst length from the host point of view. Signed-off-by: Peter Ujfalusi Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed