diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-19 03:14:31 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 08:08:26 -0500 |
commit | fd764463fe28ac53371565f851240e74775fb1aa (patch) | |
tree | 1a9e23f335559bd40f61f04b787ba20d2e05b2ba /lib/cpu-notifier-error-inject.c | |
parent | 25f33512f6ae7e37d7b3d353d57d4d6d066033ce (diff) |
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 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions