diff options
author | Esben Haabendal <eha@deif.com> | 2018-06-20 10:34:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-06-20 16:46:15 +0300 |
commit | d87e08f1421373f010308b1d065a1f0c3b251a52 (patch) | |
tree | efc054cfb659b883e07ebc4fb6a6b32ad0b87846 /drivers/net/macvlan.c | |
parent | dadcf4abd60ba6401b592c329a19719a6e1dd444 (diff) | |
download | linux-d87e08f1421373f010308b1d065a1f0c3b251a52.tar.xz |
spi: spi-fsl-dspi: Fix MCR register handling
The MCR register is not changed, so initialize it in dspi_init().
The exception is the CLR_TXF and CLR_RXF bits, which should be written to
before each transfer to make sure we start with empty FIFOs. With MCR
register now configured as volatile, the regmap_update_bits will do a real
read-modify-write cycle.
Signed-off-by: Esben Haabendal <eha@deif.com>
Acked-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/net/macvlan.c')
0 files changed, 0 insertions, 0 deletions