]> git.baikalelectronics.ru Git - kernel.git/commit
pcmcia: ds: fix suspend/resume
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 31 Aug 2016 07:49:43 +0000 (08:49 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 12 Sep 2016 09:57:00 +0000 (10:57 +0100)
commit6cd491a4d74685bfec1051756408da88aeb1d569
treec51a030650bdab011f8c0f6e6a32eea551e31f61
parentf59544bfd3b0316d82af961951ee86293018e84f
pcmcia: ds: fix suspend/resume

PCMCIA suspend/resume no longer works since the commit mentioned below,
as the callbacks are no longer made.  Convert the driver to the new
dev_pm_ops, which restores the suspend/resume functionality.  Tested on
the arm arch Assabet platform.

Fixes: 28d70f873469b ("PM / sleep: Go direct_complete if driver has no callbacks")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/pcmcia/ds.c