summaryrefslogtreecommitdiff
path: root/firmware/ti_5052.fw.ihex
diff options
context:
space:
mode:
authorRogerCC Lin <rogercc.lin@mediatek.com>2016-09-19 05:53:26 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-09-19 12:57:04 +0300
commit559e58e7ed2dadc310f174e609ead8a3e8acfc4e (patch)
tree9c0ac8720cf9981916b58c53fecf687798f986a7 /firmware/ti_5052.fw.ihex
parent7a353289925f01cb188ebc6fc4f4a33456b7de44 (diff)
downloadlinux-559e58e7ed2dadc310f174e609ead8a3e8acfc4e.tar.xz
mtd: nand: fix chances to create incomplete ECC data when writing
When mtk_nfc_do_write_page() comparing the sector number,because the sector number field is at the 12th-bit position of NFI_BYTELEN register,the masked register should be shifted 12 bits before being compared.The result of this bug may cause the second subpage has incomplete ECC parity bytes. Signed-off-by: RogerCC Lin <rogercc.lin@mediatek.com> Fixes: 1d6b1e464950 ("mtd: mediatek: driver for MTK Smart Device") Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'firmware/ti_5052.fw.ihex')
0 files changed, 0 insertions, 0 deletions