summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-03-07 15:34:39 +0100
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-04-19 22:05:45 +0200
commitc0c9dfa8adf09dbbb7dc32c20d9ccb33e19250c0 (patch)
treed16318d0cfcab9696df55d75905df343872af934 /Documentation/devicetree
parent166f08c7b6ab2f98eebbb6fc1fdb0be1efe0a566 (diff)
mtd: nand: sunxi: poll for events instead of using interrupts
Some NAND operations are so fast that it doesn't make any sense to use interrupt based waits (the scheduling overhead is not worth it). Rename sunxi_nfc_wait_int() into sunxi_nfc_wait_events() and add a parameter to specify whether polling should be used or not. Note that all sunxi_nfc_wait_int() are moved to the polling approach now, but this should change as soon as we have more information about the approximate time we are about to wait (can be extracted from the NAND timings, and the type of operation). Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions