commit | fd764463fe28ac53371565f851240e74775fb1aa | [log] [tgz] |
---|---|---|
author | Brian Niebuhr <bniebuhr@efjohnson.com> | Thu Aug 19 12:44:31 2010 +0530 |
committer | Sekhar Nori <nsekhar@ti.com> | Thu Nov 18 18:38:26 2010 +0530 |
tree | 1a9e23f335559bd40f61f04b787ba20d2e05b2ba | |
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>