diff options
author | Takashi Iwai | 2012-08-31 16:46:56 +0200 |
---|---|---|
committer | Takashi Iwai | 2012-08-31 16:50:28 +0200 |
commit | 08fa20ae20eb378225e5519db4e07f663ce405fa (patch) | |
tree | 55dc3c093360f12df2956017800fc802698facc9 /arch/h8300/include/asm/device.h | |
parent | ALSA: cs5530: Fix resource leak in error path (diff) | |
download | kernel-qcow2-linux-08fa20ae20eb378225e5519db4e07f663ce405fa.tar.gz kernel-qcow2-linux-08fa20ae20eb378225e5519db4e07f663ce405fa.tar.xz kernel-qcow2-linux-08fa20ae20eb378225e5519db4e07f663ce405fa.zip |
ALSA: hda - Yet another fix for D3 stop-clock refcounting
The call of pm_notify callback in snd_hda_codec_free() should be with
the check of the current state whether pm_notify(false) is called or
not, instead of codec->power_on check.
For improving the code readability and fixing this inconsistency,
codec->d3_stop_clk_ok is renamed to codec->pm_down_notified, and this
flag is set only when runtime PM down is called. The new name reflects
to a more direct purpose of the flag.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/h8300/include/asm/device.h')
0 files changed, 0 insertions, 0 deletions