ALSA: hda - Optimize resume for codecs without jack detection
authorTakashi Iwai <tiwai@suse.de>
Tue, 16 Jul 2019 09:52:00 +0000 (11:52 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Jul 2019 12:03:17 +0000 (14:03 +0200)
commit59d81c1e3cade953a0cb3f66ce9a3f2398fdfac3
treedaf5601a25eed31313aa8f4bc8ecf8c4de4f8001
parent4914da2fb0c89205790503f20dfdde854f3afdd8
ALSA: hda - Optimize resume for codecs without jack detection

The codecs without jack detection also don't have to be resumed
forcibly because, obviously, they have no jack.  Skip the forced
resume in such a case as optimization as well.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c