summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/check.sh
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@animalcreek.com>2014-09-02 15:12:32 -0700
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-07 23:13:44 +0200
commitafa5b5f13e0e2372e440f3ab44620d4e10fca496 (patch)
tree410510f9636eb0be574e9e55317313eba1a95c15 /scripts/kconfig/check.sh
parent5d8f759424d3d7da998a7a9eee702071c8e5d381 (diff)
downloadblackbird-op-linux-afa5b5f13e0e2372e440f3ab44620d4e10fca496.tar.gz
blackbird-op-linux-afa5b5f13e0e2372e440f3ab44620d4e10fca496.zip
NFC: trf7970a: Ensure no more RX data before completing receive
Depending on the interrupt status value given by the trf7970a, the driver may not know when a receive operation is complete. To handle this, the driver waits for a period of time in case the trf7970a interrupts it again indicating there are more RX data in the FIFO. It is possible that the timeout will occur when there are RX data in the FIFO but before the trf7970a has generated an interrupt to tell the driver about it. Handle this by calling trf7970a_drain_fifo() (instead of trf7970a_send_upstream() which just passes up the data gathered to far) to check if there are more data in the FIFO. If so, gather that data into the receive buffer. If not, pass the data collected so far upstream as before. Signed-off-by: Mark A. Greer <mgreer@animalcreek.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'scripts/kconfig/check.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud