summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-06-13 22:45:41 +0900
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-06-20 09:14:37 +0200
commitd49f5790278d18fd6b8e474397d9abfdf29a48f2 (patch)
treea128e070ed70fc11e3ddaa1c752523be78a5b526 /MAINTAINERS
parentf486287d2372422d68768c88fe54e80a48aee8ec (diff)
downloadlinux-d49f5790278d18fd6b8e474397d9abfdf29a48f2.tar.bz2
mtd: nand: denali: use interrupt instead of polling for bank reset
The current bank reset implementation polls the INTR_STATUS register until interested bits are set. This is not good because: - polling simply wastes time-slice of the thread - The while() loop may continue eternally if no bit is set, for example, due to the controller problem. The denali_wait_for_irq() uses wait_for_completion_timeout(), which is safer. We can use interrupt by moving the denali_reset_bank() call below the interrupt setup. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions