]> 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)
commitf1901e076bd3034cabe1c5af553edcade32afcca
tree16f1eb5921af6e27202dec30d7b762971058e24b
parentd8f517a5b4822fb066a90cea6c72c7a5b930cd1c
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: 29c242696853 ("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