spi: omap2-mcspi: Restore context always in runtime_resume
authorTony Lindgren <tony@atomide.com>
Wed, 25 Apr 2018 14:08:43 +0000 (07:08 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 1 May 2018 21:05:53 +0000 (06:05 +0900)
commit52e9a5bb454518d3bc22797d918ae8346c8d6082
treefe891a9c7b89066897b29b30050dd8b1ce871500
parentded5fa4e8bac25612caab8f0822691308a28a552
spi: omap2-mcspi: Restore context always in runtime_resume

We can have the SoC enter off mode also during idle, not just
during suspend. Currently we are handling the CS restore properly
for unused CS only for resume and not for runtime resume.

Let's just move all the context related restore to runtime_resume().

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c