summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/spi-nor/gigadevice.c
diff options
context:
space:
mode:
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>2020-10-02 07:18:00 +0200
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-02-05 14:05:10 +0100
commit9166f4af32db74e1544a2149aef231ff24515ea3 (patch)
treedcdfa825ba697b1c9f185f9b8ce80fef1ca5c3ed /drivers/mtd/spi-nor/gigadevice.c
parentmtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region (diff)
downloadlinux-9166f4af32db74e1544a2149aef231ff24515ea3.tar.xz
linux-9166f4af32db74e1544a2149aef231ff24515ea3.zip
mtd: spi-nor: sfdp: Fix last erase region marking
The place of spi_nor_region_mark_end() must be moved, because 'i' is re-used for the index of erase[]. Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map Parameter Table") Cc: stable@vger.kernel.org Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com> [ta: Add Fixes tag and Cc to stable] Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Link: https://lore.kernel.org/r/02ce8d84b7989ebee33382f6494df53778dd508e.1601612872.git.Takahiro.Kuwano@infineon.com
Diffstat (limited to 'drivers/mtd/spi-nor/gigadevice.c')
0 files changed, 0 insertions, 0 deletions