diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2015-08-19 20:30:14 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-08-19 15:25:19 -0700 |
commit | 0b14392db2e998157d924085d7913e537ec26121 (patch) | |
tree | 7dfa8113992d8379683129dc9970dcb9d560916f /drivers/acpi | |
parent | bc3e00f04cc1fe033a289c2fc2e5c73c0168d360 (diff) | |
download | linux-0b14392db2e998157d924085d7913e537ec26121.tar.bz2 |
mtd: nand: pxa3xx_nand: fix early spurious interrupt
When the nand is first probe, and upon the first command start, the
status bits should be cleared before the interrupts are unmasked.
The bug is tricky : if the bootloader left a status bit set, the
unmasking of interrupts does trigger the interrupt handler before the
first command is issued, blocking the good behavior of the nand.
The same would happen if in pxa3xx_nand code flow a status bit is left,
and then a command is started.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions