diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-11-13 16:58:10 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-11-13 17:02:30 +0100 |
commit | d183b4fc463489b6bbe05c99afa0257a6fe578eb (patch) | |
tree | 5c53e12db07a54e5f85ff4cfbf00431093484185 /kernel/mutex-debug.c | |
parent | ALSA: hda - Control EAPD for Master volume on Lenovo N100 (diff) | |
download | linux-d183b4fc463489b6bbe05c99afa0257a6fe578eb.tar.xz linux-d183b4fc463489b6bbe05c99afa0257a6fe578eb.zip |
ALSA: hda - Don't clear the power state at snd_hda_codec_reset()
snd_hda_codec_reset() is called either in resetting the whole setup at
error paths or hwdep clear/reconfig sysfs triggers. But all of these
don't assume that the power has to be off, rather they want to keep
the power state unchanged (e.g. reconfig_codec() calls the power
up/down by itself). Thus, unconditionally clearing the power state in
snd_hda_codec_reset() leads to the inconsistency, confuses the further
operation. This patch gets rid of the lines doing that bad thing.
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions