diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-12 02:57:33 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 08:08:24 -0500 |
commit | cfbc5d1d8fda9d337e912a03502cf77d29870a8e (patch) | |
tree | 847a5d9426e69a18c5fff666d8a507ab737f9bec /arch/arm/mach-davinci/include/mach/spi.h | |
parent | 7978b8c385a86f0b5b9304e81a1dfb5dcaf21528 (diff) |
spi: davinci: remove unnecessary data transmit on CS disable
On TI DaVinci's SPI controller, the SPIDAT1 register which
controls the chip slect status, also has data transmit register
in the lower 16 bits. Writing to the whole 32-bits triggers
an additional data transmit every time the chip select is disabled.
While most SPI slaves cope-up with this, some cannot. This
patch fixes this by doing a 16-bit write on the upper half
of the SPIDAT1 register
While at it, group the SPIGCR1 register related defines seperately
from SPIDAT1 register defines.
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/include/mach/spi.h')
0 files changed, 0 insertions, 0 deletions