]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e3c255056b0be4c8fdc70f092d11536b80f96b1
treefe891a9c7b89066897b29b30050dd8b1ce871500
parentca8964c7357a8ae37c5bb1af539e9a0c2423c73e
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