diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-02-23 14:55:45 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-03 16:32:23 +0300 |
commit | f64f8be397f33cbec378c1ca46b77f4e3c23b798 (patch) | |
tree | e7c7398a35f8df54b18111e8b492d134f1bd545c /sound | |
parent | a90dbe29b4ebf49bdbaec70ed843662f69805f04 (diff) | |
download | linux-f64f8be397f33cbec378c1ca46b77f4e3c23b798.tar.xz |
mtd: rawnand: Ensure all continuous terms are always in sync
[ Upstream commit 6fb075fca63c3486612986eeff84ed4179644038 ]
While crossing a LUN boundary, it is probably safer (and clearer) to
keep all members of the continuous read structure aligned, including the
pause page (which is the last page of the lun or the last page of the
continuous read). Once these members properly in sync, we can use the
rawnand_cap_cont_reads() helper everywhere to "prepare" the next
continuous read if there is one.
Fixes: bbcd80f53a5e ("mtd: rawnand: Prevent crossing LUN boundaries during sequential reads")
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240223115545.354541-4-miquel.raynal@bootlin.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions