summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
authorTudor Ambarus2019-07-31 10:46:16 +0200
committerRichard Weinberger2019-08-13 14:34:42 +0200
commit834de5c1aa768eb3d233d6544ea7153826c4b206 (patch)
treef3910fe2e377e8b5371d0fdf63c8c32196d50ff4 /drivers/s390/net/qeth_core.h
parentLinux 5.3-rc4 (diff)
downloadkernel-qcow2-linux-834de5c1aa768eb3d233d6544ea7153826c4b206.tar.gz
kernel-qcow2-linux-834de5c1aa768eb3d233d6544ea7153826c4b206.tar.xz
kernel-qcow2-linux-834de5c1aa768eb3d233d6544ea7153826c4b206.zip
mtd: spi-nor: Fix the disabling of write protection at init
spi_nor_spansion_clear_sr_bp() depends on spansion_quad_enable(). While spansion_quad_enable() is selected as default when initializing the flash parameters, the nor->quad_enable() method can be overwritten later on when parsing BFPT. Select the write protection disable mechanism at spi_nor_init() time, when the nor->quad_enable() method is already known. Fixes: 191f5c2ed4b6faba ("mtd: spi-nor: use 16-bit WRR command when QE is set on spansion flashes") Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
0 files changed, 0 insertions, 0 deletions