From: Clemens Ladisch Date: Thu, 2 Jul 2009 06:31:30 +0000 (+0200) Subject: sound: virtuoso: fix Xonar D1/DX silence after resume X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=826390796d09444b93e1f957582f8970ddfd9b3d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Cc: Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c index bf971f7cfdc6..6ebcb6bdd712 100644 --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c @@ -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); }