diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-19 12:44:31 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 18:38:26 +0530 |
commit | fd764463fe28ac53371565f851240e74775fb1aa (patch) | |
tree | 1a9e23f335559bd40f61f04b787ba20d2e05b2ba /arch/arm | |
parent | 25f33512f6ae7e37d7b3d353d57d4d6d066033ce (diff) | |
download | talos-op-linux-fd764463fe28ac53371565f851240e74775fb1aa.tar.gz talos-op-linux-fd764463fe28ac53371565f851240e74775fb1aa.zip |
spi: davinci: setup chip-select timers values only if timer enabled
Setup chip-select timers values only if timer is enabled
(timer_disbled in spi configuration is false).
As a nice side effect, this patch removes code duplicated in
davinci_spi_bufs_pio() and davinci_spi_bufs_dma().
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')
0 files changed, 0 insertions, 0 deletions