spi: cadence: Add support for context loss
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 8 Aug 2017 09:00:03 +0000 (11:00 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Aug 2017 09:43:41 +0000 (10:43 +0100)
commit802740890c4200c9266aee3139c5bd8e9b154e8f
tree0768049555060dc79eb07cebc015b65d96d47aad
parent48767fd8982d39d90a9e83b1461dc5feedf73e29
spi: cadence: Add support for context loss

Context could be lost across the suspend and resume.
Reinit the driver to tide over.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence.c