]> git.ipfire.org Git - people/arne_f/kernel.git/commit
nvmem: sprd: Fix the block lock operation
authorFreeman Liu <freeman.liu@unisoc.com>
Mon, 23 Mar 2020 15:00:03 +0000 (15:00 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:10:01 +0000 (09:10 +0200)
commit86e9688556f96675b3404b4c4d8f4b637753c8e0
treea67ebe2bfe09cbc3e5b322feb2d8ef7d1b1d4c4f
parent0ce5bcfffd1c9286c961698d962e02fe7f71250a
nvmem: sprd: Fix the block lock operation

commit c66ebde4d988b592e8f0008e04c47cc4950a49d3 upstream.

According to the Spreadtrum eFuse specification, we should write 0 to
the block to trigger the lock operation.

Fixes: 096030e7f449 ("nvmem: sprd: Add Spreadtrum SoCs eFuse support")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Freeman Liu <freeman.liu@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200323150007.7487-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/sprd-efuse.c