diff options
author | Miquel Raynal | 2024-02-23 12:55:45 +0100 |
---|---|---|
committer | Miquel Raynal | 2024-03-15 00:04:50 +0100 |
commit | 6fb075fca63c3486612986eeff84ed4179644038 (patch) | |
tree | 84bfe399e22fa9db94b20f11ebeefd790e7cda2d /crypto/pcrypt.c | |
parent | df9803bf5a91e3599f12b53c94722f2c4e144a86 (diff) |
mtd: rawnand: Ensure all continuous terms are always in sync
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
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions