mtd: rawnand: meson: invalidate cache on polling ECC bit
[ Upstream commit e732e39e ] '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: 8fae856c ("mtd: rawnand: meson: add support for Amlogic NAND flash controller") Signed-off-by:Arseniy Krasnov <AVKrasnov@sberdevices.ru> Reviewed-by:
Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/d4ef0bd6-816e-f6fa-9385-f05f775f0ae2@sberdevices.ru Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
53dc0b69
Please register or sign in to comment