diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2021-08-24 00:31:17 +0800 |
---|---|---|
committer | Chuanhong Guo <gch981213@gmail.com> | 2021-08-27 10:26:25 +0800 |
commit | 388127abd139d3ebbe761392403d58d58f5957cd (patch) | |
tree | f8151c3845e946a2ea45410568c980475e57febd /target/linux/mediatek/patches-5.10 | |
parent | b600aee3edbbf66e8cc714a7d5f69e4505a7445a (diff) | |
download | upstream-388127abd139d3ebbe761392403d58d58f5957cd.tar.gz upstream-388127abd139d3ebbe761392403d58d58f5957cd.tar.bz2 upstream-388127abd139d3ebbe761392403d58d58f5957cd.zip |
mediatek: mtk-snand: check request size against chip info
mtd->size will be overrided by BMT which makes all mtd requests made by
bmt fail in request size checking.
this commit changes the driver to check against actual chip size in chip
info as a workaround.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/mediatek/patches-5.10')
0 files changed, 0 insertions, 0 deletions