Skip to content

Commit

Permalink
net: ipa: don't use noirq suspend/resume callbacks
Browse files Browse the repository at this point in the history
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: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alex Elder authored and David S. Miller committed May 16, 2020
1 parent d53b116 commit a4f4845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ipa/ipa_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit a4f4845

Please sign in to comment.