diff options
author | Weijie Gao <weijie.gao@mediatek.com> | 2019-09-25 17:45:25 +0800 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2019-10-25 17:20:44 +0200 |
commit | 43405e009be86436affdf355f1e0549bdb6c9b9b (patch) | |
tree | ce8879707b9d209faa9aa83641eb41d4b3756293 /doc/README.sha1 | |
parent | 54a6b8e793dd8baf1621cd0c5d6eeeaa542bb329 (diff) |
spi: mt7621-spi: restore default register value after each xfer
Currently this driver uses a different way to implement the spi xfer,
by modifying some fields of two registers, which is incompatible with the
MTK's original SDK linux driver. This will cause the flash data being
damaged by the SDK driver.
This patch lets the mt7621_spi_set_cs() restore the original register
fields after cs deactivated.
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'doc/README.sha1')
0 files changed, 0 insertions, 0 deletions