commit | 72a78e3cd2c02c46ce5a3b89a2a854199e5a4820 | [log] [tgz] |
---|---|---|
author | Wu, Josh <Josh.wu@atmel.com> | Tue Jun 10 17:50:10 2014 +0800 |
committer | Brian Norris <computersforpeace@gmail.com> | Mon Jul 21 20:02:09 2014 -0700 |
tree | 8ce6da298b10841ae5827ac428cb6cf2caf8e307 | |
parent | 50e04e2f0cf25917d8bec05326d0003cc2ab25eb [diff] |
mtd: atmel_nand: implement the nfc_device_ready() by checking the R/B bit In nfc_device_ready(), it's more reasonable to check R/B bit in NFC_SR than waiting for the R/B interrupt. It cost less time. Signed-off-by: Josh Wu <josh.wu@atmel.com> Tested-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>