OSDN Git Service

ALSA: hda/ca0132 - Keep power on during processing DSP response
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 Dec 2019 08:51:09 +0000 (09:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Jan 2020 12:34:01 +0000 (13:34 +0100)
commit86e36047ae49ab937eff9187721bbfd7a46bbb68
treeac66cd920fa4ae77e5e6eedc7771dd6e649c09f0
parent328020f2c38a77300f57affb72edf300040ea696
ALSA: hda/ca0132 - Keep power on during processing DSP response

commit 377bc0cfabce0244632dada19060839ced4e6949 upstream.

We need to keep power on while processing the DSP response via unsol
event.  Each snd_hda_codec_read() call does the power management, so
it should work normally, but still it's safer to keep the power up for
the whole function.

Fixes: a73d511c4867 ("ALSA: hda/ca0132: Add unsol handler for DSP and jack detection")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191213085111.22855-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_ca0132.c