]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: ich-spi: Clear atomic preop only when SPI settings are not locked
authorBin Meng <bmeng.cn@gmail.com>
Sun, 27 Aug 2017 02:22:59 +0000 (19:22 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 2 Sep 2017 15:35:55 +0000 (23:35 +0800)
commitd2ca80c3d7e314c2dd2ac1bf63e5630ae7131a57
tree2ff48ff3d867ace5b13dd619843ace96955c56fc
parent52dd56ba847acd048205e6412e779fda991c95d3
x86: ich-spi: Clear atomic preop only when SPI settings are not locked

The atomic preop register can only be written when SPI settings are
not locked, otherwise it's read-only.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/spi/ich.c