commit | e6bbe666673ab044a3d39ddb74e4d9a401cf1d6f | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Oct 24 01:20:24 2013 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Oct 24 09:21:45 2013 +0200 |
tree | e1c681dfe1d213c2d8833dcf7290832d654faebf | |
parent | d7f8761b6614d2d3695dd57d27d0b2f952777648 [diff] |
ALSA: hda - Fix unbalanced runtime PM refcount after S3/S4 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. Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>