diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-10-24 01:20:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-13 12:08:09 +0900 |
commit | d1471eb15b7b25c5da001d65e42c4d39ce334f6c (patch) | |
tree | 1d81b9ef4fc0be344b34195c6ea7df78cdffd1c9 /virt | |
parent | 77ee1271696b85cbeaf617e6630769ad28b728fd (diff) |
ALSA: hda - Fix unbalanced runtime PM refcount after S3/S4
commit e6bbe666673ab044a3d39ddb74e4d9a401cf1d6f upstream.
When a machine goes to S3/S4 after power-save is enabled, the runtime
PM refcount might be incorrectly decreased because the power-down
triggered soon after resume assumes that the controller was already
powered up, and issues the pm_notify down.
This patch fixes the incorrect pm_notify call simply by checking the
current value properly.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions