diff options
author | Arseniy Krasnov <[email protected]> | 2023-03-13 10:32:44 +0300 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2023-03-22 16:59:29 +0100 |
commit | e732e39ed9929c05fd219035bc9653ba4100d4fa (patch) | |
tree | ebe2e21dfa5bd805d042b993b828dcbcf9401377 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 9b043c649022ec55040aa9315cc72059c4ec254c (diff) |
mtd: rawnand: meson: invalidate cache on polling ECC bit
'info_buf' memory is cached and driver polls ECC bit in it. This bit
is set by the NAND controller. If 'usleep_range()' returns before device
sets this bit, 'info_buf' will be cached and driver won't see update of
this bit and will loop forever.
Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")
Signed-off-by: Arseniy Krasnov <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions