projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc896e
)
net: wireless: bcmdhd: Increase pm_notify callback priority
author
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 31 Jan 2012 19:06:23 +0000
(11:06 -0800)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Tue, 31 Jan 2012 21:31:53 +0000
(13:31 -0800)
Make pm_notify callback to be called the first on suspend/resume path to
ensure it will always be called.
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd_linux.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/dhd_linux.c
b/drivers/net/wireless/bcmdhd/dhd_linux.c
index 95f3a91242ac80e4161e12761b9065139f3cf220..233c891283032bdc3dfa7e8531f6395cb02977f2 100644
(file)
--- a/
drivers/net/wireless/bcmdhd/dhd_linux.c
+++ b/
drivers/net/wireless/bcmdhd/dhd_linux.c
@@
-495,7
+495,7
@@
static int dhd_sleep_pm_callback(struct notifier_block *nfb, unsigned long actio
static struct notifier_block dhd_sleep_pm_notifier = {
.notifier_call = dhd_sleep_pm_callback,
- .priority = 0
+ .priority =
1
0
};
extern int register_pm_notifier(struct notifier_block *nb);
extern int unregister_pm_notifier(struct notifier_block *nb);