diff options
author | Peter Ujfalusi <peter.ujfalusi@nokia.com> | 2010-06-03 00:39:33 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-06-03 11:12:40 -0400 |
commit | 451fd82dc148bd5ac9ed5b19b6915a1afe32b9cb (patch) | |
tree | 0bd09462f284fbdef0ed98f7d05ed4018302f296 /arch/arm/mach-omap2/board-cm-t35.c | |
parent | 0acce82b3dd792c85079ca1f4f7ffd8c82427e0a (diff) |
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 <peter.ujfalusi@nokia.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolsfonmicro.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'arch/arm/mach-omap2/board-cm-t35.c')
0 files changed, 0 insertions, 0 deletions