diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2020-10-08 02:55:02 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-08 23:00:16 +0100 |
commit | fbddc989a5c441099978aad320ada0d5327309f4 (patch) | |
tree | b47af745558915b9bfbe64cf869df5845d99e84c /lib/plist.c | |
parent | c6cb3815f70d39e377bec6b44d25f2d8b68b324e (diff) | |
download | linux-stable-fbddc989a5c441099978aad320ada0d5327309f4.tar.gz linux-stable-fbddc989a5c441099978aad320ada0d5327309f4.tar.bz2 linux-stable-fbddc989a5c441099978aad320ada0d5327309f4.zip |
spi: dw: De-assert chip-select on reset
SPI memory operations implementation will require to have the CS register
cleared before executing the operation in order not to have the
transmission automatically started prior the Tx FIFO is pre-initialized.
Let's clear the register then on explicit controller reset to fulfil the
requirements in case of an error or having the CS left set by a bootloader
or another software.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20201007235511.4935-14-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/plist.c')
0 files changed, 0 insertions, 0 deletions