From: Takashi Iwai Date: Wed, 23 Oct 2013 23:20:24 +0000 (+0200) Subject: ALSA: hda - Fix unbalanced runtime PM refcount after S3/S4 X-Git-Tag: v3.12~21^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6bbe666673ab044a3d39ddb74e4d9a401cf1d6f;p=pandora-kernel.git 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: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed