diff options
| author | Johan Jonker <[email protected]> | 2026-06-30 15:32:46 +0200 |
|---|---|---|
| committer | Quentin Schulz <[email protected]> | 2026-07-09 19:49:22 +0200 |
| commit | 3f6d1416a89cc213ddf1f1f41dc0cda84b896b5c (patch) | |
| tree | 14ed9ac1d1f21f381a1043a37209da905958b801 /drivers/memory | |
| parent | 9b238123825c71cdb871b02e404f1443827fb69b (diff) | |
mtd: nand: raw: rockchip_nfc: fix oobfree length calculation
The oobfree[0].length calculation depends on the
rknand->metadata_size value, but this is calculated
after the function rk_nfc_ecc_init is called. Move this
calculation to a location before it's value is required.
Fixes: 1b3fcb3c0456 ("mtd: nand: raw: rockchip_nfc: add layout structure")
Signed-off-by: Johan Jonker <[email protected]>
Tested-by: Hüseyin BIYIK <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions
