summaryrefslogtreecommitdiff
path: root/arch/arm/mach-iop33x
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@bitmer.com>2011-09-26 07:45:42 (GMT)
committerTony Lindgren <tony@atomide.com>2011-09-27 00:48:10 (GMT)
commit7bba67ab3aa629f88e17786b07177b76b925cb0e (patch)
tree40af7b5d16397d15b5266e0ce74a8b7061c8fa4c /arch/arm/mach-iop33x
parent88408230d2fe752ffca0f292b092642cc5c153f1 (diff)
downloadlinux-fsl-qoriq-7bba67ab3aa629f88e17786b07177b76b925cb0e.tar.xz
ARM: OMAP: mcbsp: Make threshold based transfer code generic
Remove CONFIG_ARCH_OMAP3 conditional compilation and cpu_is_omap34xx test around buffer threshold based transfer and DMA operating mode control. Use instead the buffer_size in platform data to determine when these sysfs controls are exposed and when to access related McBSP registers. Rationale for this is to make code generic and to allow to use it on OMAP4 that also supports threshold based transfers. Currently buffer_size variable is set only for OMAP3 SoCs but it is easy to extend to OMAP4 and any later OMAP version. Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-iop33x')
0 files changed, 0 insertions, 0 deletions