OSDN Git Service

spi: sirf: add the reset for USP-based SPI
authorQipan Li <Qipan.Li@csr.com>
Tue, 26 May 2015 05:21:34 +0000 (05:21 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 26 May 2015 10:39:16 +0000 (11:39 +0100)
commit5bcc3b0bbee576acf91bed481549998851c5fe56
treeaa60a0a0053f7c5b4f8f603d6ce201a88d0798a4
parent3aa7b1d66f99855e70491136002ca92c819debd8
spi: sirf: add the reset for USP-based SPI

USP-based SPI need a disable and enable, otherwise it doesn't work.
this patch adds it as HW initialization.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sirf.c