mtd: atmel_nand: implement the nfc_device_ready() by checking the R/B bit
authorWu, Josh <Josh.wu@atmel.com>
Tue, 10 Jun 2014 09:50:10 +0000 (17:50 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 22 Jul 2014 03:02:09 +0000 (20:02 -0700)
commit72a78e3cd2c02c46ce5a3b89a2a854199e5a4820
tree8ce6da298b10841ae5827ac428cb6cf2caf8e307
parent50e04e2f0cf25917d8bec05326d0003cc2ab25eb
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>
drivers/mtd/nand/atmel_nand.c
This page took 0.025423 seconds and 5 git commands to generate.