summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.14/110-ehci_hcd_ignore_oc.patch
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-07-08 01:47:28 +0200
committerJo-Philipp Wich <jo@mein.io>2018-12-18 09:50:51 +0100
commite6945262642a3c83c4f9593286e0c7b794c211f0 (patch)
tree24fdee144e6113c4026fdc5d2a2caa7ae92cb9ef /target/linux/generic/pending-4.14/110-ehci_hcd_ignore_oc.patch
parentedc2af2be931c43a1ee111800737b08bacc60126 (diff)
downloadopenwrt-e6945262642a3c83c4f9593286e0c7b794c211f0.tar.gz
openwrt-e6945262642a3c83c4f9593286e0c7b794c211f0.tar.bz2
openwrt-e6945262642a3c83c4f9593286e0c7b794c211f0.zip
kernel: handle bad blocks in ubi auto attach code
The first block(s) of the ubi mtd device might be bad. We need to take care on our own to skip the bad block(s) and read the next one(s). Don't treat recoverable read errors as fatal and check for the UBI magic if the data of a block could be recovered using ECC or similar. Signed-off-by: Mathias Kresin <dev@kresin.me> (backported from 0ac91d82ed4d077150db902eb12d383c2be44fb2) (rebased patches) Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/generic/pending-4.14/110-ehci_hcd_ignore_oc.patch')
0 files changed, 0 insertions, 0 deletions