commit | 2e4924628ad957f702631a7a049c586a780f00f8 | [log] [tgz] |
---|---|---|
author | Maxim Levitsky <maximlevitsky@gmail.com> | Mon Sep 03 15:26:57 2007 +0200 |
committer | Jaroslav Kysela <perex@perex.cz> | Tue Oct 16 15:59:46 2007 +0200 |
tree | e0a653b659c8bb8a17c7d26b054bd9b7f4548ef1 | |
parent | b7e054a76fdc42b442c003f8d19ee5dce6b55f02 [diff] |
[ALSA] hda-intel - fix a race in dynamic power managment codec->power_transition is supposed to be true while codec is going to be shut off if in the mean time somebody calls snd_hda_power_up, hda_power_work will not shut down the codec, but nether will clear codec->power_transition, thus it stays on forever. Fix this. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>