Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bcm4330: Print an error that early_suspend was blocked

Some firmware bases, such as XXKI3, appear to have a broken DHCP setup
which permanently blocks early_suspend handling - allow this blocking
to show up in the dmesg, so people can figure out why the allow_pm_max
patch is doing nothing

Signed-off-by: Andrew Dodd <atd7@cornell.edu>
  • Loading branch information...
commit 86b36aa74d642aef455579140801449e089d6f02 1 parent a7d3384
Andrew Dodd authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  drivers/net/wireless/bcm4330/src/dhd/sys/dhd_linux.c
2  drivers/net/wireless/bcm4330/src/dhd/sys/dhd_linux.c
View
@@ -712,6 +712,8 @@ static void dhd_suspend_resume_helper(struct dhd_info *dhd, int val)
dhdp->in_suspend = val;
if (!dhdp->suspend_disable_flag)
dhd_set_suspend(val, dhdp);
+ else
+ printk("bcm4330: early_suspend processing disabled, suspend_disable_flag is set by system.\n");
DHD_OS_WAKE_UNLOCK(dhdp);
}

1 comment on commit 86b36aa

Andrew Dodd
Owner

Whoops, forgot to clean up the commit message for this... It references an allow_pm_max patch which I never released to the wild or pushed to github as it seemed to do nothing but break things.

Please sign in to comment.
Something went wrong with that request. Please try again.