linux-stable/drivers/nvmem
Srinivas Kandagatla 992ba3f7b8 nvmem: qfprom: remove incorrect write support
commit 8d9eb0d6d5 upstream.

qfprom has different address spaces for read and write. Reads are
always done from corrected address space, where as writes are done
on raw address space.
Writing to corrected address space is invalid and ignored, so it
does not make sense to have this support in the driver which only
supports corrected address space regions at the moment.

Fixes: 4ab11996b4 ("nvmem: qfprom: Add Qualcomm QFPROM support.")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200522113341.7728-1-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-11 09:23:01 +02:00
..
bcm-ocotp.c
core.c nvmem: core: return error code instead of NULL from nvmem_device_get 2019-11-20 17:59:56 +01:00
imx-iim.c
imx-ocotp.c nvmem: imx-ocotp: Ensure WAIT bits are preserved when setting timing 2020-01-27 14:46:39 +01:00
Kconfig
lpc18xx_eeprom.c nvmem: lpc18xx-eeprom: explicitly request exclusive reset control 2017-08-28 17:33:22 +02:00
lpc18xx_otp.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
meson-efuse.c
mtk-efuse.c
mxs-ocotp.c
qfprom.c nvmem: qfprom: remove incorrect write support 2020-06-11 09:23:01 +02:00
rockchip-efuse.c nvmem: rockchip-efuse: amend compatible rk322x-efuse to rk3228-efuse 2017-07-17 16:15:57 +02:00
sunxi_sid.c
vf610-ocotp.c