]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: ice1724: Fix resume issues with Prodigy 7.1 HiFi
authorYussuf Khalil <dev@pp3345.net>
Sat, 25 Nov 2017 22:31:08 +0000 (23:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Nov 2017 08:30:11 +0000 (09:30 +0100)
commit6dbc6caf6602607edf45d486aaf1949888e5053e
tree0ac1401bff3f1d6a6f37495d8bcdaf234636bbf1
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ALSA: ice1724: Fix resume issues with Prodigy 7.1 HiFi

There are two issues after resuming from suspend on the
Audiotrak Prodigy 7.1 HiFi:
 - the output volume is set to 100%
 - microphone input isn't working anymore

This patch fixes these issues by reinitializing both codecs of the device
and restoring the previous volumes during resume.

Signed-off-by: Yussuf Khalil <dev@pp3345.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/prodigy_hifi.c