summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm355.c
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-08-13 09:57:23 +0200
committerSekhar Nori <nsekhar@ti.com>2010-11-18 14:08:25 +0100
commit7fe0092b1f55f58a749d68ace3a3597e8a2a9163 (patch)
tree95df072f92ab7766aba26869d42777f817d3c6e1 /arch/arm/mach-davinci/dm355.c
parentspi: davinci: enable GPIO lines to be used as chip selects (diff)
downloadlinux-7fe0092b1f55f58a749d68ace3a3597e8a2a9163.tar.xz
linux-7fe0092b1f55f58a749d68ace3a3597e8a2a9163.zip
spi: davinci: simplify prescalar calculation
Simplify pre-scalar calculation and move it into a seprate function. Refuse to correct invalid pre-scalar values silently as this might lead to unexpected bugs and lower performance. Instead an error will force users to dig into the root-cause of the issue. While at it, remove some device specific checks on the maximum SPI frequency. As the driver supports the SPI interface implemented on various devices, it should only take care of core SPI limitations and leave the device specific handling to platform code. Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com> Tested-By: Michael Williamson <michael.williamson@criticallink.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/dm355.c')
0 files changed, 0 insertions, 0 deletions