spi: dw: Fix Designware SPI loopback
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 5 Nov 2019 20:22:10 +0000 (14:22 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:44:45 +0000 (16:44 +0100)
commit6431e1fb7b6ca5496aecedfce3a18c7ead236231
tree276cca8ba3265473a3af024f7712930f0d53b4bc
parent12d8deb5213ea8a566e9c4b463233e92abaded04
spi: dw: Fix Designware SPI loopback

[ Upstream commit 1403cfa69d310781f9548951c97725c67ffcf613 ]

The SPI_LOOP is set in spi->mode but not propagated to the register.
A previous patch removed the bit during a cleanup.

Fixes: e1bc204894ea ("spi: dw: fix potential variable assignment error")
Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Link: https://lore.kernel.org/r/1572985330-5525-1-git-send-email-thor.thayer@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-dw.c