From: Peter Ujfalusi Date: Thu, 3 Jun 2010 04:39:33 +0000 (+0300) Subject: OMAP3: McBSP: Change the way how the FIFO is handled X-Git-Tag: v2.6.36-rc1~493^2~1^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=451fd82dc148bd5ac9ed5b19b6915a1afe32b9cb;p=pandora-kernel.git OMAP3: McBSP: Change the way how the FIFO is handled Use the actual FIFO size in words as buffer_size on OMAP3. Change the threshold configuration to use 1 based numbering, when specifying the allowed threshold maximum or the McBSP threshold value. Set the default maximum threshold to (buffer_size - 0x10) intialy. >From users of McBSP, now it is expected to use this method. Asking for threshold 1 means that the value written to threshold registers are going to be 0, which means 1 word threshold. Signed-off-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Mark Brown Acked-by: Tony Lindgren Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed