From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932132AbZG1XKn (ORCPT ); Tue, 28 Jul 2009 19:10:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754903AbZG1XKk (ORCPT ); Tue, 28 Jul 2009 19:10:40 -0400 Received: from kroah.org ([198.145.64.141]:42921 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752853AbZG1XDr (ORCPT ); Tue, 28 Jul 2009 19:03:47 -0400 X-Mailbox-Line: From gregkh@mini.kroah.org Tue Jul 28 15:59:41 2009 Message-Id: <20090728225941.717703138@mini.kroah.org> User-Agent: quilt/0.48-1 Date: Tue, 28 Jul 2009 15:58:33 -0700 From: Greg KH To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: stable-review@kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Clemens Ladisch , Takashi Iwai Subject: [patch 05/37] sound: virtuoso: fix Xonar D1/DX silence after resume References: <20090728225828.431071451@mini.kroah.org> Content-Disposition: inline; filename=sound-virtuoso-fix-xonar-d1-dx-silence-after-resume.patch In-Reply-To: <20090728230145.GA10486@kroah.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Clemens Ladisch commit 826390796d09444b93e1f957582f8970ddfd9b3d upstream. 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 Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/oxygen/virtuoso.c | 2 ++ 1 file changed, 2 insertions(+) --- a/sound/pci/oxygen/virtuoso.c +++ b/sound/pci/oxygen/virtuoso.c @@ -376,6 +376,8 @@ static void xonar_d2_resume(struct oxyge 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); }