diff options
| author | Brian Niebuhr <[email protected]> | 2010-08-13 13:27:23 +0530 |
|---|---|---|
| committer | Sekhar Nori <[email protected]> | 2010-11-18 18:38:25 +0530 |
| commit | 7fe0092b1f55f58a749d68ace3a3597e8a2a9163 (patch) | |
| tree | 95df072f92ab7766aba26869d42777f817d3c6e1 /tools/perf/scripts/python/netdev-times.py | |
| parent | 23853973d9b76eb8b3cf46157689bc6187e141d9 (diff) | |
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 <[email protected]>
Tested-By: Michael Williamson <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions