Commit a4f48458 authored by Alex Elder's avatar Alex Elder Committed by David S. Miller
Browse files

net: ipa: don't use noirq suspend/resume callbacks



Use the suspend and resume callbacks rather than suspend_noirq and
resume_noirq.  With IPA v4.2, we use the CHANNEL_STOP command to
implement a suspend, and without interrupts enabled, that command
won't complete.

Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d53b1162
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -933,8 +933,8 @@ static int ipa_resume(struct device *dev)
}

static const struct dev_pm_ops ipa_pm_ops = {
	.suspend_noirq	= ipa_suspend,
	.resume_noirq	= ipa_resume,
	.suspend	= ipa_suspend,
	.resume		= ipa_resume,
};

static struct platform_driver ipa_driver = {