spi: sprd: Fix the incorrect SPI register
authorHuanpeng Xin <huanpeng.xin@unisoc.com>
Wed, 4 Dec 2019 07:13:59 +0000 (15:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2020 18:49:00 +0000 (19:49 +0100)
commit98cb3486aa2b7b7a74ae469315f3976f209f5c76
tree2e4234894c528b4dbc9835f3386891bee09a3a93
parent2d657e3ac543a5c7f2f022e0fe70af02c7d13263
spi: sprd: Fix the incorrect SPI register

commit 5e9c5236b7b86779b53b762f7e66240c3f18314b upstream.

The original code used an incorrect SPI register to initialize the SPI
controller in sprd_spi_init_hw(), thus fix it.

Fixes: e7d973a31c24 ("spi: sprd: Add SPI driver for Spreadtrum SC9860")
Signed-off-by: Huanpeng Xin <huanpeng.xin@unisoc.com>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/b4f7f89ec0fdc595335687bfbd9f962213bc4a1d.1575443510.git.baolin.wang7@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spi/spi-sprd.c