]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: r237239
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 Jun 2012 11:10:49 +0000 (11:10 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 Jun 2012 11:10:49 +0000 (11:10 +0000)
commit99095d519f016a307d3f2603ef9a76197097eb75
tree33966360cc0c20c92333d0b00ce1e3c380b0d74d
parent4e23a2e732982516a7498da106f5e4ad6b5bcded
MFC: r237239

Revert the part of r236495 (MFC'ed to stable/9 in r237095) that
introduced checking of SPI_SR_TXEMPTY for TX transfer completion as
for reasons unknown this occasionally causes SPI_SR_RXBUFF and
SPI_SR_ENDRX to not rise.
In any case, once the RX part of the transfer is done it's obvious
that the preceding TX part had finished and checking of SPI_SR_TXEMPTY
was introduced to rule out a possible cause for the data corruption
mentioned in r236495 but which didn't turn out to be the problem
anyway.

git-svn-id: svn://svn.freebsd.org/base/stable/9@237382 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/at91/at91_spi.c