diff options
author | Piotr Sroka <[email protected]> | 2020-02-10 10:55:26 +0100 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2020-03-11 16:17:55 +0100 |
commit | e4578af0354176ff6b4ae78b9998b4f479f7c31c (patch) | |
tree | 6eb4f6b858cf40efc636432aee5f065058f331f6 /scripts/bpf_helpers_doc.py | |
parent | 397deafc02e1b91668fa1ee95fdd52d14fa82135 (diff) |
mtd: rawnand: cadence: fix the calculation of the avaialble OOB size
The value of cdns_chip->sector_count is not known at the moment
of the derivation of ecc_size, leading to a zero value. Fix
this by assigning ecc_size later in the code.
Fixes: ec4ba01e894d ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem")
Cc: [email protected]
Signed-off-by: Piotr Sroka <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions