mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
sound: virtuoso: fix Xonar D1/DX silence after resume
When resuming, we better take the DACs out of the reset state before trying to use them. Reference: kernel bug #13599 http://bugzilla.kernel.org/show_bug.cgi?id=13599 Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
14744d7da2
commit
826390796d
1 changed files with 2 additions and 0 deletions
|
@ -635,6 +635,8 @@ static void xonar_d2_resume(struct oxygen *chip)
|
||||||
|
|
||||||
static void xonar_d1_resume(struct oxygen *chip)
|
static void xonar_d1_resume(struct oxygen *chip)
|
||||||
{
|
{
|
||||||
|
oxygen_set_bits8(chip, OXYGEN_FUNCTION, OXYGEN_FUNCTION_RESET_CODEC);
|
||||||
|
msleep(1);
|
||||||
cs43xx_init(chip);
|
cs43xx_init(chip);
|
||||||
xonar_enable_output(chip);
|
xonar_enable_output(chip);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue