diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2010-08-12 12:27:33 +0530 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2010-11-18 18:38:24 +0530 |
commit | cfbc5d1d8fda9d337e912a03502cf77d29870a8e (patch) | |
tree | 847a5d9426e69a18c5fff666d8a507ab737f9bec /scripts/diffconfig | |
parent | 7978b8c385a86f0b5b9304e81a1dfb5dcaf21528 (diff) | |
download | op-kernel-dev-cfbc5d1d8fda9d337e912a03502cf77d29870a8e.zip op-kernel-dev-cfbc5d1d8fda9d337e912a03502cf77d29870a8e.tar.gz |
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 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions