]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerTakashi Iwai <tiwai@suse.de>
Sat, 14 Dec 2019 17:53:53 +0000 (18:53 +0100)
commitbb72d28a57a4484e7a8dd0ff4cd6b8e042543234
tree16f1eb5921af6e27202dec30d7b762971058e24b
parent71a28be3c6369bd82a325658ea04cf461e9645e5
ALSA: hda/ca0132 - Keep power on during processing DSP response

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: 6805a7894826 ("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>
sound/pci/hda/patch_ca0132.c