diff options
author | Shiji Yang <yangshiji66@qq.com> | 2023-05-21 22:51:16 +0800 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2023-05-29 14:17:52 +0200 |
commit | e8231a43e08caebe6d3cb354f7ae7ea325fa32f1 (patch) | |
tree | 05a2f92f65cd3e8c6a532744f6505925f8ad5025 /target/linux/x86/config-5.15 | |
parent | 570618b84482ff2757bcde1c7d7ccbda92b343c8 (diff) | |
download | upstream-e8231a43e08caebe6d3cb354f7ae7ea325fa32f1.tar.gz upstream-e8231a43e08caebe6d3cb354f7ae7ea325fa32f1.tar.bz2 upstream-e8231a43e08caebe6d3cb354f7ae7ea325fa32f1.zip |
ramips: correct page read return value of the mt7621 nand driver
read_page() need to return maximum number of bitflips instead of the
accumulated number. Change takes from upstream mt7621 u-boot [1].
* @read_page: function to read a page according to the ECC generator
* requirements; returns maximum number of bitflips
* corrected in any single ECC step, -EIO hw error
[1] https://lore.kernel.org/all/cover.1653015383.git.weijie.gao@mediatek.com/
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
(cherry picked from commit 2fbb91d73ffecc7d033e5bb0b550d664ef9e0f91)
Diffstat (limited to 'target/linux/x86/config-5.15')
0 files changed, 0 insertions, 0 deletions