Commit 3c97be6
committed
mtd: rawnand: nandsim: Fix the logic when selecting Hamming soft ECC engine
I have been fooled by the logic picking the right ECC engine which is
spread across two functions: *init_module() and *_attach(). I thought
this driver was not impacted by the recent changes around the ECC
engines DT parsing logic but in fact it is.
Reported-by: kernel test robot <oliver.sang@intel.com>
Fixes: d7157ff ("mtd: rawnand: Use the ECC framework user input parsing bits")
Cc: stable@vger.kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210104093057.31178-1-miquel.raynal@bootlin.com1 parent 4883a60 commit 3c97be6
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2210 | 2210 | | |
2211 | 2211 | | |
2212 | 2212 | | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
2213 | 2216 | | |
2214 | 2217 | | |
2215 | 2218 | | |
| |||
2233 | 2236 | | |
2234 | 2237 | | |
2235 | 2238 | | |
2236 | | - | |
2237 | | - | |
2238 | 2239 | | |
2239 | 2240 | | |
2240 | 2241 | | |
| |||
2273 | 2274 | | |
2274 | 2275 | | |
2275 | 2276 | | |
2276 | | - | |
2277 | | - | |
2278 | 2277 | | |
2279 | 2278 | | |
2280 | 2279 | | |
| |||
0 commit comments