summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBrian Niebuhr <bniebuhr@efjohnson.com>2010-08-12 12:27:33 +0530
committerSekhar Nori <nsekhar@ti.com>2010-11-18 18:38:24 +0530
commitcfbc5d1d8fda9d337e912a03502cf77d29870a8e (patch)
tree847a5d9426e69a18c5fff666d8a507ab737f9bec /arch
parent7978b8c385a86f0b5b9304e81a1dfb5dcaf21528 (diff)
downloadop-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 'arch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud