mtd: spi-nor: add missing SST26* flash IC protection ops
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Mon, 9 Sep 2019 19:33:14 +0000 (22:33 +0300)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 16 Sep 2019 02:39:22 +0000 (08:09 +0530)
commite0cacdcc0a479dc70d3048ee40705478dce2655e
tree79d268b4b6eaf8aaaaa02629d2804504dd22ac2a
parent210d8ad0fa6c63e5775662b840b8eb095a69db19
mtd: spi-nor: add missing SST26* flash IC protection ops

Commit c4e8862308d4 (mtd: spi: Switch to new SPI NOR framework)
performs switch from previous 'spi_flash' infrastructure without
proper testing/investigations which results in a regressions for
SST26 flash series.

Add missing SST26* flash IC protection ops which were introduced
previously by
Commit 3d4fed87a5fa (mtd: sf: Add support of sst26wf* flash ICs
protection ops)

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/spi-nor-core.c
include/linux/mtd/spi-nor.h