Skip to content

Commit

Permalink
sound: virtuoso: fix Xonar D1/DX silence after resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Jul 2, 2009
1 parent 14744d7 commit 8263907
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/pci/oxygen/virtuoso.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,8 @@ static void xonar_d2_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);
xonar_enable_output(chip);
}
Expand Down

0 comments on commit 8263907

Please sign in to comment.