Re: [PATCH v1] mtd: rawnand: meson: fix OOB available bytes for ECC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2023-07-05 at 06:52:10 UTC, Arseniy Krasnov wrote:
> It is incorrect to calculate number of OOB bytes for ECC engine using
> some "already known" ECC step size (1024 bytes here). Number of such
> bytes for ECC engine must be whole OOB except 2 bytes for bad block
> marker, while proper ECC step size and strength will be selected by
> ECC logic.
> 
> Fixes: 8fae856c5350 ("mtd: rawnand: meson: add support for Amlogic NAND flash controller")
> Cc: <Stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Arseniy Krasnov <AVKrasnov@xxxxxxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/fixes, thanks.

Miquel



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux