]> asedeno.scripts.mit.edu Git - linux.git/commit
spi: dw: Fix Designware SPI loopback
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 5 Nov 2019 20:22:10 +0000 (14:22 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 5 Nov 2019 23:48:19 +0000 (23:48 +0000)
commit1403cfa69d310781f9548951c97725c67ffcf613
treedf9d68dd5fbbc55abcf3783c1bc29f6f7fe85f2d
parenta725272bda77e61c1b4de85c7b0c875b2ea639b6
spi: dw: Fix Designware SPI loopback

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>
drivers/spi/spi-dw.c