• Stephen Boyd's avatar
    PM / wakeup: Use pm_pr_dbg() instead of pr_debug() · 74a1dd86
    Stephen Boyd authored
    These prints are useful if we're doing PM suspend debugging. Having them
    at pr_debug() level means that we need to either enable DEBUG in this
    file, or compile the kernel with dynamic debug capabilities. Both of
    these options have drawbacks like custom compilation or opting into all
    debug statements being included into the kernel image. Given that we
    already have infrastructure to collect PM debugging information with
    CONFIG_PM_DEBUG and friends, let's change the pr_debug usage here to be
    pm_pr_dbg() instead so we can collect the wakeup information in the
    kernel logs.
    Signed-off-by: default avatarStephen Boyd <swboyd@chromium.org>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    74a1dd86
wakeup.c 29.3 KB